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