public class IntRealProblem extends Problem
length_, lowerLimit_, numberOfConstraints_, numberOfObjectives_, numberOfVariables_, precision_, problemName_, solutionType_, upperLimit_, variableType_
Constructor and Description |
---|
IntRealProblem(java.lang.String solutionType)
Constructor.
|
IntRealProblem(java.lang.String solutionType,
int intVariables,
int realVariables)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
evaluate(Solution solution)
Evaluates a solution
|
evaluateConstraints, getLength, getLowerLimit, getName, getNumberOfBits, getNumberOfConstraints, getNumberOfObjectives, getNumberOfVariables, getPrecision, getPrecision, getSolutionType, getUpperLimit, setnumberOfObjectives, setNumberOfVariables, setPrecision, setSolutionType
public IntRealProblem(java.lang.String solutionType) throws java.lang.ClassNotFoundException
java.lang.ClassNotFoundException
public IntRealProblem(java.lang.String solutionType, int intVariables, int realVariables) throws java.lang.ClassNotFoundException
intVariables
- Number of integer variables of the problemrealVariables
- Number of real variables of the problemjava.lang.ClassNotFoundException
public void evaluate(Solution solution) throws JMException
evaluate
in class Problem
solution
- The solution to evaluateJMException