|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjmetal.core.Problem
jmetal.problems.IntRealProblem
public class IntRealProblem
Class representing a problem having N integer and M real variables. This is not a true problem; it is only intended as an example
Field Summary |
---|
Fields inherited from class jmetal.core.Problem |
---|
length_, lowerLimit_, numberOfConstraints_, numberOfObjectives_, numberOfVariables_, problemName_, solutionType_, upperLimit_ |
Constructor Summary | |
---|---|
IntRealProblem(java.lang.String solutionType)
Constructor. |
|
IntRealProblem(java.lang.String solutionType,
int intVariables,
int realVariables)
Constructor. |
Method Summary | |
---|---|
void |
evaluate(Solution solution)
Evaluates a solution |
Methods inherited from class jmetal.core.Problem |
---|
evaluateConstraints, getLength, getLowerLimit, getName, getNumberOfBits, getNumberOfConstraints, getNumberOfObjectives, getNumberOfVariables, getPrecision, getPrecision, getSolutionType, getUpperLimit, setNumberOfVariables, setPrecision, setSolutionType |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IntRealProblem(java.lang.String solutionType) throws java.lang.ClassNotFoundException
java.lang.ClassNotFoundException
public IntRealProblem(java.lang.String solutionType, int intVariables, int realVariables)
intVariables
- Number of integer variables of the problemrealVariables
- Number of real variables of the problemMethod Detail |
---|
public void evaluate(Solution solution) throws JMException
evaluate
in class Problem
solution
- The solution to evaluate
JMException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |