MultiObjectiveStochasticHillClimberMutation#
- class pybrops.opt.algo.pymoo_addon.MultiObjectiveStochasticHillClimberMutation(setspace, p_hillclimb, **kwargs)[source]#
Bases:
Mutation
Perform a memetic subset exchange mutation.
Constructor for SubsetMutation.
- Parameters:
kwargs (dict) – Additional keyword arguments used for cooperative inheritance.
Methods
do
get_prob_var
Hillclimb mutation for a single individual.
Attributes
Set space from which to sample elements.
- __call__(problem, elem, *args, to_numpy=False, **kwargs)#
Call self as a function.
- hillclimb(problem, x, *args, **kwargs)[source]#
Hillclimb mutation for a single individual.
- Parameters:
problem (pymoo.core.problem.Problem) – Problem object.
x (numpy.ndarray) – Chromosome of a single individual.
- Returns:
out – Chromosome of a single individual.
- Return type:
numpy.ndarray
- property setspace: ndarray#
Set space from which to sample elements.