Class Deterministic
java.lang.Object
common.distributions.Distribution
common.distributions.Deterministic
- All Implemented Interfaces:
ServiceStrategy, Cloneable
Title: Deterministic Distribution
Description: Constant distribution data structure
- Author:
- Bertoli Marco Date: 6-lug-2005 Time: 13.52.30
-
Nested Class Summary
Nested classes/interfaces inherited from class Distribution
Distribution.Parameter, Distribution.ValueChecker -
Field Summary
Fields inherited from class Distribution
all, allWithMean, c, checker, classpath, description, df, discreteDistributions, hasC, hasMean, image, isNestable, mean, name, nestableDistributions, parameterClasspath, parameters, precondition -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ImageIconsetImage()Sets illustrating figure in distribution panelvoidsetMean(double value) Sets the mean for this distributionprotected Distribution.Parameter[]Used to set parameters of this distributiontoString()Returns this distribution's short descriptionvoidupdateCM()This method is called whenever a parameter changes andhasMeanorhasCis trueMethods inherited from class Distribution
checkInfinitesimalGeneratorMatrix, checkProbabilityVector, checkTransitionRateMatrix, checkValue, clone, equals, findAll, findAllDiscrete, findAllWithMean, findNestableDistributions, formatNumber, getC, getClassPath, getDescription, getImage, getMean, getName, getNumberOfParameters, getParameter, getParameter, getParameterClassPath, getPrecondition, hasC, hasMean, isNestable, normalizeProbabilityVector, setC, setValueChecker
-
Constructor Details
-
Deterministic
public Deterministic()Constructs a new Deterministic Distribution
-
-
Method Details
-
setParameters
Used to set parameters of this distribution- Specified by:
setParametersin classDistribution- Returns:
- distribution parameters
-
setImage
Sets illustrating figure in distribution panel- Specified by:
setImagein classDistribution- Returns:
- illustrating figure
-
toString
Returns this distribution's short description- Specified by:
toStringin classDistribution- Returns:
- distribution's short description
-
setMean
public void setMean(double value) Sets the mean for this distribution- Overrides:
setMeanin classDistribution- Parameters:
value- mean value
-
updateCM
public void updateCM()This method is called whenever a parameter changes andhasMeanorhasCis true- Overrides:
updateCMin classDistribution
-