jeco.kernel.problem
Class Problem
java.lang.Object
jeco.kernel.problem.Problem
- Direct Known Subclasses:
- DTLZ, DynamicDataTypes, FloorplanPolish, LiquidChannels, TSP, ZDT
public abstract class Problem
- extends java.lang.Object
Constructor Summary |
Problem(java.lang.String name,
int numberOfVariables,
int numberOfObjectives)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INFINITY
public static final double INFINITY
- See Also:
- Constant Field Values
name
protected java.lang.String name
numberOfVariables
protected int numberOfVariables
numberOfObjectives
protected int numberOfObjectives
Problem
public Problem(java.lang.String name,
int numberOfVariables,
int numberOfObjectives)
getName
public java.lang.String getName()
getNumberOfVariables
public int getNumberOfVariables()
getNumberOfObjectives
public int getNumberOfObjectives()
evaluate
public abstract void evaluate(Solution solution)
evaluateConstraints
public void evaluateConstraints(Solution solution)
computeParetoOptimalFront
public Solutions computeParetoOptimalFront(int n)
newRandomSetOfSolutions
public abstract Solutions newRandomSetOfSolutions(int size)