public class UniformDistributionOverBox1 extends Object implements InitialsFactory
| Constructor and Description |
|---|
UniformDistributionOverBox1(RandomLongGenerator uniform,
int N,
RealInterval... bounds)
Construct a generator to uniformly sample points over a feasible region.
|
| Modifier and Type | Method and Description |
|---|---|
Vector[] |
getInitials()
Generate a set of initial points for optimization.
|
Vector[] |
getInitials(Vector... notused)
Generate a set of initial points for optimization from the fewer than required points.
|
void |
seed(long... seeds)
Seed the random number generator to produce repeatable sequences.
|
public UniformDistributionOverBox1(RandomLongGenerator uniform, int N, RealInterval... bounds)
uniform - a uniform random number generatorN - the number of initials to generatebounds - the feasible box regionpublic void seed(long... seeds)
seeds - the seedspublic Vector[] getInitials(Vector... notused)
InitialsFactorygetInitials in interface InitialsFactorynotused - initial points; null if no initial suppliedpublic Vector[] getInitials()
Copyright © 2010-2020 NM FinTech Ltd.. All Rights Reserved.