Failable Operator

Failable Operator#

Some genetic operators might fail sometimes. For instance, a mutation that results in an illegal offspring.

These operators should inherit from FailableOperator. This class includes an attempt mechanism (attempt_operator), and a failing mechanism (on_fail).

Failable operators integrated in EC-KitY:FloatVectorGaussOnePointMutation and SubtreeMutation (failable in typed GP).