eqdisco.generate.ramped_half_and_half#
- eqdisco.generate.ramped_half_and_half(pset, n, rng, min_depth=2, max_depth=6, unique=True, max_tries=20)[source]#
nexpressions, half grow and half full, depths ramped over[min_depth, max_depth].With
unique=Truestructural duplicates are regenerated (up tomax_triestimes per individual), which increases the initial diversity.