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