propeller.genome
The genetic material in Propeller. A plushy
is a list of Push instructions that represent a Push program. They hold the genetic material for an individual
. In the initial population, we create random plushys.
make-random-plushy
(make-random-plushy {:keys [instructions max-initial-plushy-size bmx? bmx-gene-length-limit], :as argmap})
Creates and returns a new plushy made of random instructions.
plushy->push
(plushy->push plushy)
(plushy->push plushy argmap)
Returns the Push program expressed by the given plushy representation.
plushy->push-internal
(plushy->push-internal plushy argmap)
FIXME: write docs