public class Water extends AbstractDoubleProblem implements ConstrainedProblem<DoubleSolution>
| Modifier and Type | Field and Description |
|---|---|
static Double[] |
LOWERLIMIT |
NumberOfViolatedConstraints<DoubleSolution> |
numberOfViolatedConstraints |
OverallConstraintViolation<DoubleSolution> |
overallConstraintViolationDegree |
static Double[] |
UPPERLIMIT |
| Constructor and Description |
|---|
Water()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
evaluate(DoubleSolution solution)
Evaluate() method
|
void |
evaluateConstraints(DoubleSolution solution)
EvaluateConstraints() method
|
createSolution, getLowerBound, getUpperBound, setLowerLimit, setUpperLimitgetName, getNumberOfConstraints, getNumberOfObjectives, getNumberOfVariables, setName, setNumberOfConstraints, setNumberOfObjectives, setNumberOfVariablesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetNumberOfConstraintscreateSolution, getName, getNumberOfObjectives, getNumberOfVariablespublic OverallConstraintViolation<DoubleSolution> overallConstraintViolationDegree
public NumberOfViolatedConstraints<DoubleSolution> numberOfViolatedConstraints
public static final Double[] LOWERLIMIT
public static final Double[] UPPERLIMIT
public Water()
public void evaluate(DoubleSolution solution)
evaluate in interface Problem<DoubleSolution>public void evaluateConstraints(DoubleSolution solution)
evaluateConstraints in interface ConstrainedProblem<DoubleSolution>Copyright © 2018. All rights reserved.