public class DefaultDoubleBinarySolution extends AbstractGenericSolution<Object,DoubleBinaryProblem<?>> implements DoubleBinarySolution
attributes, problem, randomGenerator| Constructor and Description |
|---|
DefaultDoubleBinarySolution(DefaultDoubleBinarySolution solution)
Copy constructor
|
DefaultDoubleBinarySolution(DoubleBinaryProblem<?> problem)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
DefaultDoubleBinarySolution |
copy() |
Double |
getLowerBound(int index) |
int |
getNumberOfBits() |
int |
getNumberOfDoubleVariables() |
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 DefaultDoubleBinarySolution(DoubleBinaryProblem<?> problem)
public DefaultDoubleBinarySolution(DefaultDoubleBinarySolution solution)
public int getNumberOfDoubleVariables()
getNumberOfDoubleVariables in interface DoubleBinarySolutionpublic Double getUpperBound(int index)
getUpperBound in interface DoubleBinarySolutionpublic int getNumberOfBits()
getNumberOfBits in interface DoubleBinarySolutionpublic Double getLowerBound(int index)
getLowerBound in interface DoubleBinarySolutionpublic DefaultDoubleBinarySolution copy()
public String getVariableValueString(int index)
getVariableValueString in interface Solution<Object>Copyright © 2018. All rights reserved.