jphase.fit
Class MLContPhaseFitter

java.lang.Object
  extended by jphase.fit.ContPhaseFitter
      extended by jphase.fit.MLContPhaseFitter
All Implemented Interfaces:
PhaseFitter
Direct Known Subclasses:
EMHyperErlangFit, EMHyperExpoFit, EMPhaseFit

public abstract class MLContPhaseFitter
extends ContPhaseFitter

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

Author:
Juan Fernando Pérez

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

Constructor Detail

MLContPhaseFitter

public MLContPhaseFitter(double[] data)
Parameters:
data -
Method Detail

getLogLikelihood

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