public class UniformDistributionOverBox extends java.lang.Object implements RandomVectorGenerator
| Constructor and Description |
|---|
UniformDistributionOverBox(RealInterval... bounds)
Construct a random vector generator to uniformly sample points over a box region.
|
| Modifier and Type | Method and Description |
|---|---|
double[] |
nextVector()
Get the next random vector.
|
void |
seed(long... seeds)
Seed the random vector generator to produce repeatable sequences.
|
public UniformDistributionOverBox(RealInterval... bounds)
bounds - the feasible box regionpublic void seed(long... seeds)
RandomVectorGeneratorseed in interface RandomVectorGeneratorseeds - the seedspublic double[] nextVector()
RandomVectorGeneratornextVector in interface RandomVectorGenerator