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