|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectca.cas.utilities.ProbDist
ca.cas.utilities.ConstantDist
public class ConstantDist
Each ConstantDist object represents a probability distribution for which the probability of one particular integer is 1.0 and the value of every other integer is 0.0
Field Summary |
---|
Fields inherited from class ca.cas.utilities.ProbDist |
---|
CONSTANT, EXP, max, min, ONE, POISSON, probs, ZERO |
Constructor Summary | |
---|---|
ConstantDist(int constant)
Construct a ConstantDist object |
Method Summary |
---|
Methods inherited from class ca.cas.utilities.ProbDist |
---|
getMax, getProbDist, next, probFor, probMoreThan, probUpTo |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConstantDist(int constant)
constant
- the integer for which there is to be a probability
of 1.0
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |