public abstract class AbstractBinaryProblem extends AbstractGenericProblem<BinarySolution> implements BinaryProblem
| Constructor and Description |
|---|
AbstractBinaryProblem() |
| Modifier and Type | Method and Description |
|---|---|
BinarySolution |
createSolution() |
protected abstract int |
getBitsPerVariable(int index) |
int |
getNumberOfBits(int index) |
int |
getTotalNumberOfBits() |
getName, getNumberOfConstraints, getNumberOfObjectives, getNumberOfVariables, setName, setNumberOfConstraints, setNumberOfObjectives, setNumberOfVariablesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitevaluate, getName, getNumberOfConstraints, getNumberOfObjectives, getNumberOfVariablesprotected abstract int getBitsPerVariable(int index)
public int getNumberOfBits(int index)
getNumberOfBits in interface BinaryProblempublic int getTotalNumberOfBits()
getTotalNumberOfBits in interface BinaryProblempublic BinarySolution createSolution()
createSolution in interface Problem<BinarySolution>Copyright © 2015. All rights reserved.