statistic.distribution
Class ServiceTimeDistribution

java.lang.Object
  |
  +--statistic.distribution.GenericDistribution
        |
        +--statistic.distribution.GenericDiscreteDistribution
              |
              +--statistic.distribution.ServiceTimeDistribution
All Implemented Interfaces:
RandomGenerator

public abstract class ServiceTimeDistribution
extends GenericDiscreteDistribution


Field Summary
 
Fields inherited from class statistic.distribution.GenericDiscreteDistribution
cdf
 
Fields inherited from class statistic.distribution.GenericDistribution
name, paramNames, params
 
Fields inherited from interface statistic.RandomGenerator
random
 
Constructor Summary
ServiceTimeDistribution()
           
 
Method Summary
abstract  double cdf(int k)
          Returns the value of the cumulative distribution function at x where x is an int
abstract  GenericFunction getAutocorr()
           
 double getFMAX()
          Method getFMAX: For some Discrete Distribution we could have a pb to generate a randInt because of the cdf value So when we generate random value we verify that this value is < getFMAX()
 double getSumCdf(int k)
           
 void initializeSumCdf(int a, int b)
           
abstract  double mean()
          Returns the mean of the distribution
 double pdf(int k)
          Method pdf.
 double var()
          Method var : Not implemented
 
Methods inherited from class statistic.distribution.GenericDiscreteDistribution
cdf, getInitialisationStatus, getKMAX, pdf, rand, randInt, randIntFast, setInitialisationStatus
 
Methods inherited from class statistic.distribution.GenericDistribution
getEquation, getName, getParam, getParamName, getParams, getParamsCount, getParamsNames, normalStandardCdf, setParam, setParams
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceTimeDistribution

public ServiceTimeDistribution()
Method Detail

pdf

public double pdf(int k)
Method pdf. Pour etre conforme a GenericDiscreteDistribution

Parameters:
k -
Returns:
0 Not implemented

getSumCdf

public double getSumCdf(int k)
                 throws java.lang.IllegalArgumentException
Specified by:
getSumCdf in class GenericDiscreteDistribution
java.lang.IllegalArgumentException

initializeSumCdf

public void initializeSumCdf(int a,
                             int b)

getFMAX

public double getFMAX()
               throws java.lang.IllegalArgumentException
Description copied from class: GenericDiscreteDistribution
Method getFMAX: For some Discrete Distribution we could have a pb to generate a randInt because of the cdf value So when we generate random value we verify that this value is < getFMAX()

Overrides:
getFMAX in class GenericDiscreteDistribution
Returns:
double
java.lang.IllegalArgumentException

var

public double var()
Method var : Not implemented

Specified by:
var in class GenericDistribution
Returns:
0
See Also:
statistic.GenericDistribution#var()

cdf

public abstract double cdf(int k)
                    throws java.lang.IllegalArgumentException
Description copied from class: GenericDiscreteDistribution
Returns the value of the cumulative distribution function at x where x is an int

Specified by:
cdf in class GenericDiscreteDistribution
java.lang.IllegalArgumentException

mean

public abstract double mean()
Description copied from class: GenericDistribution
Returns the mean of the distribution

Specified by:
mean in class GenericDistribution

getAutocorr

public abstract GenericFunction getAutocorr()