2 Configuration
(current-functions) : (hash/c symbol? (list/c exact-nonnegative-integer? procedure?)) |
(current-variables) : (listof symbol?) ; default '(x) |
(current-constant-range) : (cons/c real? real?) ; default '(-5 . 5) |
(current-max-depth) : exact-positive-integer? ; default 6 |
Every knob is a parameter, so runs are scoped with parameterize. current-max-depth is the bloat guard: crossover children that would exceed it fall back to their parents, and mutated growth is budgeted against it. Depth caps hold by construction, not by hope.