public final class Solutions
extends java.lang.Object
Utilities and factory methods for solutions.
Modifier | Constructor and Description |
---|---|
private |
Solutions() |
Modifier and Type | Method and Description |
---|---|
static BooleanVectorSolution |
randomBooleanVectorForProblem(ParallelProblem<java.lang.Boolean> problem,
NormalizedDoubleRandomGenerator randomGenerator) |
static DoubleVectorSolution |
randomDoubleVectorForProblem(ParallelProblem<java.lang.Double> problem,
NormalizedDoubleRandomGenerator randomGenerator) |
static IntegerVectorSolution |
randomIntegerVectorForProblem(ParallelProblem<java.lang.Integer> problem,
IntRandomGenerator randomGenerator) |
static <T extends java.io.Serializable> |
simple(T value) |
static DoubleSolution |
singleDouble(double value) |
public static <T extends java.io.Serializable> SimpleSolution<T> simple(T value)
public static DoubleSolution singleDouble(double value)
public static DoubleVectorSolution randomDoubleVectorForProblem(ParallelProblem<java.lang.Double> problem, NormalizedDoubleRandomGenerator randomGenerator)
public static IntegerVectorSolution randomIntegerVectorForProblem(ParallelProblem<java.lang.Integer> problem, IntRandomGenerator randomGenerator)
public static BooleanVectorSolution randomBooleanVectorForProblem(ParallelProblem<java.lang.Boolean> problem, NormalizedDoubleRandomGenerator randomGenerator)