ProgTypeAbstract.mutationDeleteChance

Шанс удаление узла программы и замены его листом

interface ProgTypeAbstract
@property
float
mutationDeleteChance
(
)
in { assert (abs(mutationChangeChance() + mutationReplaceChance() + mutationDeleteChance() - 1) < 0.01, "Generation summed chance isn't 1!"); }
out (result) { assert (0 <= result && result <= 1, "Return value isn't a probability!"); }

Meta