## Uses of Interface
jphase.ContPhaseVar

- Packages that use ContPhaseVar
  Package | Description
  --- | ---
  examples.jmarkov |
  examples.jphase |
  jphase | This package provides capabilities for modeling Phase type distributions.
  jphase.fit | Provides capabilities for fitting Phase type distribution parameters from data.

- - ### Uses of ContPhaseVar in examples.jmarkov

    Methods in examples.jmarkov with parameters of type ContPhaseVar
    Modifier and Type | Method and Description
    --- | ---
    `static void` | BBPhBufExp.`bufferVariation(int workers, int stations, double[][] velocities, ContPhaseVar[] vars, boolean[] buffer, int maxBuff, java.io.FileWriter file, java.lang.String description, int debugLevel)`
    `java.util.ArrayList<java.lang.Integer>` | BBPhase.`getNewMachPhases(int actOpe, int newMach, ContPhaseVar[][] phases)` This Method returns the new phase when a worker starts a work in a new machine
    `java.util.ArrayList<java.lang.Integer>` | BBPhase.`getNewPhases(int actOpe, int curMach, int curPhase, ContPhaseVar[][] phases)` This Method finds the new phase for a given worker
    `static void` | BBPhBufExp.`modelPrinting(int workers, int[] bufferCaps, int stations, double[][] velocities, ContPhaseVar[] vars, java.lang.String description, boolean printHeads, java.io.BufferedWriter output, int debugLevel)`

    Constructors in examples.jmarkov with parameters of type ContPhaseVar
    Constructor and Description
    `BBPhase(int N, int M, ContPhaseVar[] machineTimes, double[][] vels)` Builds a Bucket Brigade system.
    `BBPhBuf(int numWorkers, int numMachines, ContPhaseVar[] processTimes, double[][] vels, int[] capBuffer)` Builds a Bucket brigades system.

  - ### Uses of ContPhaseVar in examples.jphase

    Constructors in examples.jphase with parameters of type ContPhaseVar
    Constructor and Description
    `PhaseSystem(ContPhaseVar[] Distributions, double lambda, int Max)`

  - ### Uses of ContPhaseVar in jphase

    Classes in jphase that implement ContPhaseVar
    Modifier and Type | Class and Description
    --- | ---
    `class` | `AbstractContPhaseVar` Abstract class that defines a Continuous Phase-Type Distribution
    `class` | `DenseContPhaseVar` This class allows the creation and manipulation of Continuous Phase-type distributions represented by dense matrices.
    `class` | `ErlangCoxianVar` Phase-Type representation of an ErlangCoxian distribution as defined by Osogami and Harchol in "Closed form solutions for mapping general distributions to quasi-minimal PH distributions", 2005.
    `class` | `HyperErlangVar` This class allows the creation and manipulation of HyperErlang distributions.
    `class` | `HypoExponentialVar` This class allows the creation and manipulation of hypoexponential distributions.
    `class` | `SparseContPhaseVar` This class allows the creation and manipulation of Continuous Phase-type distributions represented by sparse (Flexible Compressed Row) matrices.

    Methods in jphase that return ContPhaseVar
    Modifier and Type | Method and Description
    --- | ---
    `ContPhaseVar` | ErlangCoxianVar.`copy()`
    `ContPhaseVar` | SparseContPhaseVar.`copy()`
    `ContPhaseVar` | ContPhaseVar.`copy()` Creates a deep copy of the original Phase-Type Variable
    `ContPhaseVar` | DenseContPhaseVar.`copy()`
    `ContPhaseVar` | HypoExponentialVar.`copy()`
    `ContPhaseVar` | HyperErlangVar.`copy()`
    `ContPhaseVar` | ContPhaseVar.`eqResidualTime()` Computes the Equilibrium Residual Distribution
    `ContPhaseVar` | AbstractContPhaseVar.`eqResidualTime()`
    `ContPhaseVar` | ContPhaseVar.`max(ContPhaseVar B)` Returns the maximum between the variable B and the original: res = max(A,B)
    `ContPhaseVar` | AbstractContPhaseVar.`max(ContPhaseVar v2)`
    `ContPhaseVar` | ContPhaseVar.`max(ContPhaseVar B, ContPhaseVar res)` Returns the maximum between the variable B and the original: res = max(A,B)
    `ContPhaseVar` | AbstractContPhaseVar.`max(ContPhaseVar v2, ContPhaseVar res)`
    `ContPhaseVar` | ContPhaseVar.`min(ContPhaseVar B)` Returns the minimum between the variable B and the original: res = min(A,B)
    `ContPhaseVar` | AbstractContPhaseVar.`min(ContPhaseVar v2)`
    `ContPhaseVar` | ContPhaseVar.`min(ContPhaseVar B, ContPhaseVar res)` Returns the minimum between the variable B and the original: res = min(A,B)
    `ContPhaseVar` | AbstractContPhaseVar.`min(ContPhaseVar v2, ContPhaseVar res)`
    `ContPhaseVar` | ContPhaseVar.`mix(double p, ContPhaseVar B)` Computes the distribution of the mix: res = A*p + B*(1-p)
    `ContPhaseVar` | AbstractContPhaseVar.`mix(double p, ContPhaseVar v2)`
    `ContPhaseVar` | ContPhaseVar.`mix(double p, ContPhaseVar B, ContPhaseVar res)` Computes the distribution of the mix: res = A*p + B*(1-p)
    `ContPhaseVar` | AbstractContPhaseVar.`mix(double p, ContPhaseVar v2, ContPhaseVar res)`
    `ContPhaseVar` | ErlangCoxianVar.`newVar(int n)`
    `ContPhaseVar` | SparseContPhaseVar.`newVar(int n)`
    `ContPhaseVar` | ContPhaseVar.`newVar(int n)` Creates a new variable of the same class of the original Continuous Phase-Type Variable
    `ContPhaseVar` | DenseContPhaseVar.`newVar(int n)`
    `ContPhaseVar` | HypoExponentialVar.`newVar(int n)`
    `ContPhaseVar` | HyperErlangVar.`newVar(int n)`
    `ContPhaseVar` | ContPhaseVar.`residualTime(double x)` Computes the Residual Time Distribution
    `ContPhaseVar` | AbstractContPhaseVar.`residualTime(double x)`
    `ContPhaseVar` | ContPhaseVar.`residualVar(double a)` Computes the variable (X-a)+, i.e. the distribution takes the value of the original distribution if it is greater or equal to a.
    `ContPhaseVar` | AbstractContPhaseVar.`residualVar(double a)`
    `ContPhaseVar` | ContPhaseVar.`sum(ContPhaseVar B)` Computes the sum of this variable and B
    `ContPhaseVar` | AbstractContPhaseVar.`sum(ContPhaseVar v2)`
    `ContPhaseVar` | ContPhaseVar.`sum(ContPhaseVar B, ContPhaseVar res)` Computes the sum of this variable and B
    `ContPhaseVar` | AbstractContPhaseVar.`sum(ContPhaseVar v2, ContPhaseVar res)`
    `ContPhaseVar` | ContPhaseVar.`sumGeom(double p)` Returns the sum of a geometric number of independent copies of this variable
    `ContPhaseVar` | AbstractContPhaseVar.`sumGeom(double p)`
    `ContPhaseVar` | ContPhaseVar.`sumPH(DiscPhaseVar B)` Returns the sum of a Phase-type-distributed number of Continuous Phase-type distributions
    `ContPhaseVar` | AbstractContPhaseVar.`sumPH(DiscPhaseVar v2)`
    `ContPhaseVar` | ContPhaseVar.`sumPH(DiscPhaseVar B, ContPhaseVar res)` Returns the sum of a Phase-type-distributed number of Continuous Phase-type distributions
    `ContPhaseVar` | AbstractContPhaseVar.`sumPH(DiscPhaseVar B, ContPhaseVar res)`
    `ContPhaseVar` | ContPhaseVar.`times(double c)` Returns a Phase continuous variable that is the original one times c
    `ContPhaseVar` | AbstractContPhaseVar.`times(double c)`
    `ContPhaseVar` | ContPhaseVar.`waitingQ(double rho)` Computes the distribution of the waiting time in queue
    `ContPhaseVar` | AbstractContPhaseVar.`waitingQ(double rho)`

    Methods in jphase with parameters of type ContPhaseVar
    Modifier and Type | Method and Description
    --- | ---
    `ContPhaseVar` | ContPhaseVar.`max(ContPhaseVar B)` Returns the maximum between the variable B and the original: res = max(A,B)
    `ContPhaseVar` | AbstractContPhaseVar.`max(ContPhaseVar v2)`
    `ContPhaseVar` | ContPhaseVar.`max(ContPhaseVar B, ContPhaseVar res)` Returns the maximum between the variable B and the original: res = max(A,B)
    `ContPhaseVar` | AbstractContPhaseVar.`max(ContPhaseVar v2, ContPhaseVar res)`
    `ContPhaseVar` | ContPhaseVar.`min(ContPhaseVar B)` Returns the minimum between the variable B and the original: res = min(A,B)
    `ContPhaseVar` | AbstractContPhaseVar.`min(ContPhaseVar v2)`
    `ContPhaseVar` | ContPhaseVar.`min(ContPhaseVar B, ContPhaseVar res)` Returns the minimum between the variable B and the original: res = min(A,B)
    `ContPhaseVar` | AbstractContPhaseVar.`min(ContPhaseVar v2, ContPhaseVar res)`
    `ContPhaseVar` | ContPhaseVar.`mix(double p, ContPhaseVar B)` Computes the distribution of the mix: res = A*p + B*(1-p)
    `ContPhaseVar` | AbstractContPhaseVar.`mix(double p, ContPhaseVar v2)`
    `ContPhaseVar` | ContPhaseVar.`mix(double p, ContPhaseVar B, ContPhaseVar res)` Computes the distribution of the mix: res = A*p + B*(1-p)
    `ContPhaseVar` | AbstractContPhaseVar.`mix(double p, ContPhaseVar v2, ContPhaseVar res)`
    `ContPhaseVar` | ContPhaseVar.`sum(ContPhaseVar B)` Computes the sum of this variable and B
    `ContPhaseVar` | AbstractContPhaseVar.`sum(ContPhaseVar v2)`
    `ContPhaseVar` | ContPhaseVar.`sum(ContPhaseVar B, ContPhaseVar res)` Computes the sum of this variable and B
    `ContPhaseVar` | AbstractContPhaseVar.`sum(ContPhaseVar v2, ContPhaseVar res)`
    `ContPhaseVar` | ContPhaseVar.`sumPH(DiscPhaseVar B, ContPhaseVar res)` Returns the sum of a Phase-type-distributed number of Continuous Phase-type distributions
    `ContPhaseVar` | AbstractContPhaseVar.`sumPH(DiscPhaseVar B, ContPhaseVar res)`

  - ### Uses of ContPhaseVar in jphase.fit

    Methods in jphase.fit that return ContPhaseVar
    Modifier and Type | Method and Description
    --- | ---
    `ContPhaseVar` | EMHyperErlangFit.`fit()` Returns a HyperErlang variable with the best fit, in the form of a Dense Continuous Phase variable
    `ContPhaseVar` | MomentsECCompleteFit.`fit()` Fits a Phase Type distribution from a set of moments with the Complete method described by Osogami et al.
    `ContPhaseVar` | MomentsECPositiveFit.`fit()` Fits a Phase Type distribution with no mass at zero from a set of moments with the Positive method described by Osogami et al.
    `ContPhaseVar` | MomentsACPHFit.`fit()` Solves the equation system to get the parameters of the distribution, if the moments are feasible
    `ContPhaseVar` | MomentsACPH2Fit.`fit()`
    `abstract ContPhaseVar` | ContPhaseFitter.`fit()`
    `ContPhaseVar` | EMHyperErlangFit.`fit(int N)` Returns a HyperErlang variable with the best fit, in the form of a Dense Continuous Phase variable