mutate

Mutates a single offspring point.

Return

a new, possibly perturbed point of the same length as point. The solver will clamp and round it.

Parameters

point

the offspring point (problem input order). Must not be modified in place.

solver

the genetic algorithm solver requesting the mutation. Provides access to the random number stream and the problem definition.