Singleobjective problems¶
Unconstrained¶
-
class
jmetal.problem.singleobjective.unconstrained.OneMax(number_of_bits: int = 256, rf_path: str = None)¶ Bases:
jmetal.core.problem.BinaryProblem-
create_solution() → jmetal.core.solution.BinarySolution¶
-
evaluate(solution: jmetal.core.solution.BinarySolution) → jmetal.core.solution.BinarySolution¶
-
get_name() → str¶
-
-
class
jmetal.problem.singleobjective.unconstrained.Sphere(number_of_variables: int = 10, rf_path: str = None)¶ Bases:
jmetal.core.problem.FloatProblem-
evaluate(solution: jmetal.core.solution.FloatSolution) → jmetal.core.solution.FloatSolution¶
-
get_name() → str¶
-