|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjmetal.core.Problem
jmetal.problems.Water
public class Water
Class representing problem Water
| Field Summary | |
|---|---|
static double[] |
LOWERLIMIT
|
static double[] |
UPPERLIMIT
|
| Fields inherited from class jmetal.core.Problem |
|---|
length_, lowerLimit_, numberOfConstraints_, numberOfObjectives_, numberOfVariables_, problemName_, solutionType_, upperLimit_ |
| Constructor Summary | |
|---|---|
Water(java.lang.String solutionType)
Constructor. |
|
| Method Summary | |
|---|---|
void |
evaluate(Solution solution)
Evaluates a solution |
void |
evaluateConstraints(Solution solution)
Evaluates the constraint overhead of a solution |
| Methods inherited from class jmetal.core.Problem |
|---|
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 |
| Field Detail |
|---|
public static final double[] LOWERLIMIT
public static final double[] UPPERLIMIT
| Constructor Detail |
|---|
public Water(java.lang.String solutionType)
solutionType - The solution type must "Real" or "BinaryReal".| Method Detail |
|---|
public void evaluate(Solution solution)
throws JMException
evaluate in class Problemsolution - The solution to evaluate
JMException
public void evaluateConstraints(Solution solution)
throws JMException
evaluateConstraints in class Problemsolution - The solution
JMException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||