public class DefaultIntegerSolution extends AbstractGenericSolution<Integer,IntegerProblem> implements IntegerSolution
attributes, problem, randomGenerator| Constructor and Description |
|---|
DefaultIntegerSolution(DefaultIntegerSolution solution)
Copy constructor
|
DefaultIntegerSolution(IntegerProblem problem)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
DefaultIntegerSolution |
copy() |
Integer |
getLowerBound(int index) |
Integer |
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 DefaultIntegerSolution(IntegerProblem problem)
public DefaultIntegerSolution(DefaultIntegerSolution solution)
public Integer getUpperBound(int index)
getUpperBound in interface IntegerSolutionpublic Integer getLowerBound(int index)
getLowerBound in interface IntegerSolutionpublic DefaultIntegerSolution copy()
public String getVariableValueString(int index)
getVariableValueString in interface Solution<Integer>Copyright © 2018. All rights reserved.