jphase.fit

## Class MLDiscPhaseFitter

- java.lang.Object
- - jphase.fit.DiscPhaseFitter
  - - jphase.fit.MLDiscPhaseFitter

- All Implemented Interfaces:
    PhaseFitter

      public abstract class MLDiscPhaseFitter
      extends DiscPhaseFitter

  This class defines the behavior for a class that implements a maximum likelihood algorithm for fitting data to a Discrete Phase-Type distribution
  Version:
    1.0
  Author:
    Juan F. Pérez

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `MLDiscPhaseFitter(int[] data)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `double` | `getLogLikelihood()`

    - ### Methods inherited from class jphase.fit.DiscPhaseFitter

      `fit`

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### MLDiscPhaseFitter

          public MLDiscPhaseFitter(int[] data)

      See Also:
        `DiscPhaseFitter.DiscPhaseFitter(int[])`

  - ### Method Detail

    - #### getLogLikelihood

          public double getLogLikelihood()

      Overrides:
        `getLogLikelihood` in class `DiscPhaseFitter`
      Returns:
        -1 if there is no data associated to the algorithm, 0 if there has not been found a ContPhaseVar yet, or the likelihood.