jphase.fit
Class MLDiscPhaseFitter

java.lang.Object
  extended by jphase.fit.DiscPhaseFitter
      extended by jphase.fit.MLDiscPhaseFitter
All Implemented Interfaces:
PhaseFitter

public abstract class MLDiscPhaseFitter
extends DiscPhaseFitter

This class defines the behaviour for a class that implements a maximum likelihood algorithm for fitting data to a Discrete Phase-Type distribution

Author:
Juan Fernando Pérez

Field Summary
 
Fields inherited from class jphase.fit.DiscPhaseFitter
data, var
 
Constructor Summary
MLDiscPhaseFitter(int[] data)
           
 
Method Summary
 double getLogLikelihood()
           
 
Methods inherited from class jphase.fit.DiscPhaseFitter
fit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MLDiscPhaseFitter

public MLDiscPhaseFitter(int[] data)
Parameters:
data -
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.