(eval-pop {fitness :chickn.core/fitness
comparator :chickn.core/comparator
monitor :chickn.core/monitor
parallel :chickn.core/parallel}
pop)
(evolve {:keys [:chickn.core/selector :chickn.core/crossover
:chickn.core/mutation :chickn.core/reinsertion
:chickn.core/population-size]
:as cfg}
pop)
(evolve {:keys [:chickn.core/solved? :chickn.core/reporter]
:as cfg
:or {reporter util/noop}}
pop
n)
(init {:keys [:chickn.core/chromo-gen :chickn.core/population-size] :as cfg})
For the given cfg initialize the genotype. Returns an initialized and evaluated genotype (i.e. first gen)
For the given cfg initialize the genotype. Returns an initialized and evaluated genotype (i.e. first gen)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close