Package jline.lang.processes
Class Distribution
java.lang.Object
jline.lang.processes.Distribution
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ContinuousDistribution
,Det
,Disabled
,DiscreteDistribution
,Immediate
,Replayer
An abstract class of a general distribution
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract double
evalCDF
(double t) double
evalProbInterval
(double t0, double t1) abstract double
getMean()
getName()
int
getNumParams
(int id) getParam
(int id) double
getRate()
abstract double
getSCV()
abstract double
double
getVar()
boolean
boolean
boolean
boolean
double[]
sample
(int n) abstract double[]
void
setNumParams
(int num) void
-
Field Details
-
mean
protected double mean -
immediate
protected boolean immediate -
name
-
numParam
protected int numParam -
support
-
params
-
-
Constructor Details
-
Distribution
-
-
Method Details
-
sample
public double[] sample(int n) -
sample
-
getMean
public abstract double getMean() -
getRate
public double getRate() -
getSCV
public abstract double getSCV() -
getVar
public double getVar() -
getSkewness
public abstract double getSkewness() -
evalCDF
public abstract double evalCDF(double t) -
getNumParams
public int getNumParams(int id) -
setNumParams
public void setNumParams(int num) -
setParam
-
evalProbInterval
public double evalProbInterval(double t0, double t1) -
getParam
-
isImmediate
public boolean isImmediate() -
isContinuous
public boolean isContinuous() -
isDiscrete
public boolean isDiscrete() -
isDisabled
public boolean isDisabled() -
getName
-
getSupport
-