public class UniformDistributionOverBox2 extends java.lang.Object implements BuildInitials
| Constructor and Description |
|---|
UniformDistributionOverBox2(double scale,
RealInterval[] bounds,
int discretization)
Construct a generator to uniformly sample points over a feasible region.
|
UniformDistributionOverBox2(double scale,
RealInterval[] bounds,
int[] discretizations)
Construct a generator to uniformly sample points over a feasible region.
|
UniformDistributionOverBox2(double scale,
RealInterval[] bounds,
int[] discretizations,
RandomLongGenerator rng)
Construct a generator to uniformly sample points over a feasible region.
|
UniformDistributionOverBox2(double scale,
RealInterval[] bounds,
int discretization,
RandomLongGenerator rng)
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.
|
public UniformDistributionOverBox2(double scale,
RealInterval[] bounds,
int[] discretizations,
RandomLongGenerator rng)
scale - the small percentage of disturbance, e.g., 10%bounds - the feasible box regiondiscretizations - the number of discretization levels in each dimension (bound)rng - a uniform random number generatorpublic UniformDistributionOverBox2(double scale,
RealInterval[] bounds,
int[] discretizations)
scale - the small percentage of disturbance, e.g., 10%bounds - the feasible box regiondiscretizations - the number of discretization in each dimension (bound)public UniformDistributionOverBox2(double scale,
RealInterval[] bounds,
int discretization,
RandomLongGenerator rng)
scale - the small percentage of disturbance, e.g., 10%bounds - the feasible box regiondiscretization - the number of discretization in all dimensions (bounds)rng - a uniform random number generatorpublic UniformDistributionOverBox2(double scale,
RealInterval[] bounds,
int discretization)
scale - the small percentage of disturbance, e.g., 10%bounds - the feasible box regiondiscretization - the number of discretization in all dimensions (bounds)public Vector[] getInitials(Vector... notused)
BuildInitialsgetInitials in interface BuildInitialsnotused - initial points; null if no initial suppliedpublic Vector[] getInitials()