|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jmetal.core.Problem jmetal.problems.singleObjective.Sphere
public class Sphere
Class representing a Sphere problem.
Field Summary |
---|
Fields inherited from class jmetal.core.Problem |
---|
length_, lowerLimit_, numberOfConstraints_, numberOfObjectives_, numberOfVariables_, problemName_, solutionType_, upperLimit_ |
Constructor Summary | |
---|---|
Sphere(java.lang.String solutionType,
java.lang.Integer numberOfVariables)
Constructor Creates a default instance of the Sphere problem |
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 Sphere(java.lang.String solutionType, java.lang.Integer numberOfVariables)
numberOfVariables
- Number of variables of the problemsolutionType
- The solution type must "Real" or "BinaryReal".Method 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 |