Class OneMaxProblem
java.lang.Object
com.knezevic.edaf.v3.problems.OneMaxProblem
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionEvaluates one genotype and returns its fitness.name()Problem identifier used for reporting and persistence.Returns whether this problem is min or max.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.knezevic.edaf.v3.core.api.Problem
feasible, objectiveCount, violations
-
Constructor Details
-
OneMaxProblem
public OneMaxProblem()
-
-
Method Details
-
name
-
objectiveSense
Description copied from interface:ProblemReturns whether this problem is min or max.- Specified by:
objectiveSensein interfaceProblem<BitString>
-
evaluate
-