jphase.fit
Class MomentsDiscPhaseFitter

java.lang.Object
  extended by jphase.fit.DiscPhaseFitter
      extended by jphase.fit.MomentsDiscPhaseFitter
All Implemented Interfaces:
PhaseFitter
Direct Known Subclasses:
MomentsADPH2Fit

public abstract class MomentsDiscPhaseFitter
extends DiscPhaseFitter

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

Author:
Juan Fernando Pérez

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

Field Detail

m1

protected double m1

m2

protected double m2

m3

protected double m3
Constructor Detail

MomentsDiscPhaseFitter

public MomentsDiscPhaseFitter(int[] data)
Parameters:
data -

MomentsDiscPhaseFitter

public MomentsDiscPhaseFitter(double m1,
                              double m2,
                              double m3)
Parameters:
m1 -
m2 -
m3 -