onegpy.operators.selection.AbstractProblemBasedSelection¶
-
class
onegpy.operators.selection.AbstractProblemBasedSelection(k, problem, replacement)[source]¶ Abstract class for problem based selection.
-
__init__(k, problem, replacement)[source]¶ Parameters: - k – int. The number of solutions which are selected.
- problem – problem object. target problem.
- replacement – bool. If replacement is True, duplicated solutions are selected.
Otherwise, all the solutions are unique in an output population.
Methods
__init__(k, problem, replacement)param k: int. The number of solutions which are selected. not_changeable_warning()Attributes
kn_inn_out-