Class AbstractBinaryProblem
java.lang.Object
org.uma.jmetal.problem.AbstractGenericProblem<BinarySolution>
org.uma.jmetal.problem.binaryproblem.impl.AbstractBinaryProblem
- All Implemented Interfaces:
java.io.Serializable,BinaryProblem,Problem<BinarySolution>
public abstract class AbstractBinaryProblem extends AbstractGenericProblem<BinarySolution> implements BinaryProblem
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description AbstractBinaryProblem() -
Method Summary
Modifier and Type Method Description BinarySolutioncreateSolution()intgetBitsFromVariable(int index)abstract java.util.List<java.lang.Integer>getListOfBitsPerVariable()intgetTotalNumberOfBits()Methods inherited from class org.uma.jmetal.problem.AbstractGenericProblem
getName, getNumberOfConstraints, getNumberOfObjectives, getNumberOfVariables, setName, setNumberOfConstraints, setNumberOfObjectives, setNumberOfVariablesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.uma.jmetal.problem.Problem
evaluate, getName, getNumberOfConstraints, getNumberOfObjectives, getNumberOfVariables
-
Constructor Details
-
AbstractBinaryProblem
public AbstractBinaryProblem()
-
-
Method Details
-
getListOfBitsPerVariable
public abstract java.util.List<java.lang.Integer> getListOfBitsPerVariable()- Specified by:
getListOfBitsPerVariablein interfaceBinaryProblem
-
getBitsFromVariable
public int getBitsFromVariable(int index)- Specified by:
getBitsFromVariablein interfaceBinaryProblem
-
getTotalNumberOfBits
public int getTotalNumberOfBits()- Specified by:
getTotalNumberOfBitsin interfaceBinaryProblem
-
createSolution
- Specified by:
createSolutionin interfaceProblem<BinarySolution>
-