Package HAL.Tools
Class MultinomialCalcLong
- java.lang.Object
-
- HAL.Rand
-
- HAL.Tools.MultinomialCalcLong
-
- All Implemented Interfaces:
java.io.Serializable
public class MultinomialCalcLong extends Rand implements java.io.Serializable
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description long
popRemaining
double
probRemaining
-
Constructor Summary
Constructors Constructor Description MultinomialCalcLong(Rand rng)
-
Method Summary
Modifier and Type Method Description long
GetPopRemaining()
double
GetProbRemaining()
long
Sample(double prob)
void
Setup(long pop)
-
Methods inherited from class HAL.Rand
Binomial, Binomial, Bool, Double, Double, Double, ExponentialDist, Gaussian, Int, Long, Multinomial, Multinomial, RandomDS, RandomIS, RandomPointInCircle, RandomPointInSphere, RandomPointOnCircleEdge, RandomPointOnSphereEdge, RandomVariable, RandomVariable, RandomVariable, Shuffle, Shuffle, Shuffle, Shuffle, Shuffle, Shuffle, Shuffle, Shuffle
-
-
-
-
Constructor Detail
-
MultinomialCalcLong
public MultinomialCalcLong(Rand rng)
-
-