public class GenericDoubleSolution extends AbstractGenericSolution<Double,DoubleProblem> implements DoubleSolution
attributes, numberOfViolatedConstraints, overallConstraintViolationDegree, problem, randomGenerator| Constructor and Description |
|---|
GenericDoubleSolution(DoubleProblem problem)
Constructor
|
GenericDoubleSolution(GenericDoubleSolution solution)
Copy constructor
|
| Modifier and Type | Method and Description |
|---|---|
Solution |
copy() |
Double |
getLowerBound(int index) |
Double |
getUpperBound(int index) |
String |
getVariableValueString(int index) |
equals, getAttribute, getNumberOfObjectives, getNumberOfVariables, getNumberOfViolatedConstraints, getObjective, getOverallConstraintViolationDegree, getVariableValue, hashCode, initializeObjectiveValues, setAttribute, setNumberOfViolatedConstraints, setObjective, setOverallConstraintViolationDegree, setVariableValue, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetAttribute, getNumberOfObjectives, getNumberOfVariables, getNumberOfViolatedConstraints, getObjective, getOverallConstraintViolationDegree, getVariableValue, setAttribute, setNumberOfViolatedConstraints, setObjective, setOverallConstraintViolationDegree, setVariableValuepublic GenericDoubleSolution(DoubleProblem problem)
public GenericDoubleSolution(GenericDoubleSolution solution)
public Double getUpperBound(int index)
getUpperBound in interface DoubleSolutionpublic Double getLowerBound(int index)
getLowerBound in interface DoubleSolutionpublic String getVariableValueString(int index)
getVariableValueString in interface Solution<Double>Copyright © 2015. All rights reserved.