public class OneZeroMax extends AbstractBinaryProblem
| Constructor and Description |
|---|
OneZeroMax()
Constructor
|
OneZeroMax(Integer numberOfBits)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
BinarySolution |
createSolution() |
void |
evaluate(BinarySolution solution)
Evaluate() method
|
protected int |
getBitsPerVariable(int index) |
getNumberOfBits, getTotalNumberOfBitsgetName, getNumberOfConstraints, getNumberOfObjectives, getNumberOfVariables, setName, setNumberOfConstraints, setNumberOfObjectives, setNumberOfVariablesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetName, getNumberOfConstraints, getNumberOfObjectives, getNumberOfVariablespublic OneZeroMax()
throws JMetalException
JMetalExceptionpublic OneZeroMax(Integer numberOfBits) throws JMetalException
JMetalExceptionprotected int getBitsPerVariable(int index)
getBitsPerVariable in class AbstractBinaryProblempublic BinarySolution createSolution()
createSolution in interface Problem<BinarySolution>createSolution in class AbstractBinaryProblempublic void evaluate(BinarySolution solution)
Copyright © 2018. All rights reserved.