public class UniformDistributionOverBox extends Object implements RandomVectorGenerator
| Constructor and Description |
|---|
UniformDistributionOverBox(RandomLongGenerator uniform,
RealInterval... bounds)
Constructs a random vector generator to uniformly sample points over a
box region.
|
UniformDistributionOverBox(RealInterval... bounds)
Constructs a random vector generator to uniformly sample points over a
box region.
|
| Modifier and Type | Method and Description |
|---|---|
double[] |
nextVector()
Gets the next random vector.
|
void |
seed(long... seeds)
Seed the random number/vector/scenario generator to produce repeatable experiments.
|
public UniformDistributionOverBox(RandomLongGenerator uniform, RealInterval... bounds)
uniform - a uniform random number generatorbounds - the feasible box regionpublic UniformDistributionOverBox(RealInterval... bounds)
bounds - the feasible box regionpublic void seed(long... seeds)
Seedablepublic double[] nextVector()
RandomVectorGeneratornextVector in interface RandomVectorGeneratorCopyright © 2010-2026 NM Group. All Rights Reserved.