Closed FelipeRosa closed 8 years ago
Would be nice if we could choose to create full or grow programs, i.e.
(defn rand-program [lang max-depth full?] (...))
So
(rand-program lang max-depth true)
would generate programas with terminal nodes only at depth max-depth. If full? is set to false then terminal nodes are permitted at any depth.
max-depth
full?
false
Would be nice if we could choose to create full or grow programs, i.e.
So
would generate programas with terminal nodes only at depth
max-depth
. Iffull?
is set tofalse
then terminal nodes are permitted at any depth.