eqdisco.variation.shrink_mutation#

eqdisco.variation.shrink_mutation(p, pset, rng)[source]#

Replace a random internal subtree by a terminal.