public class ProbabilityVector
extends java.lang.Object
Constructor and Description |
---|
ProbabilityVector(double[] vector) |
ProbabilityVector(java.util.List<java.lang.Double> vector) |
ProbabilityVector(ProbabilityVector rhs) |
Modifier and Type | Method and Description |
---|---|
int |
next(double searchValue)
Returns a discrete Value to a given probability.
|
public ProbabilityVector(java.util.List<java.lang.Double> vector)
public ProbabilityVector(double[] vector)
public ProbabilityVector(ProbabilityVector rhs)