(adjust-size {pop-size :chickn.core/pop-size
chromo-gen :chickn.core/chromo-gen
monitor :chickn.core/monitor}
chromos)
(apply-sels {:keys [:chickn.core/pop-size :chickn.core/monitor] :as cfg}
sels-cfgs
{pop :pop})
Applies the provided configurations on the genotype and returns the vector of selected chromosomes
Applies the provided configurations on the genotype and returns the vector of selected chromosomes
(eval-pop {fitness :chickn.core/fitness
comparator :chickn.core/comparator
monitor :chickn.core/monitor}
pop)
(evolve {:keys [:chickn.core/selectors :chickn.core/operators
:chickn.core/monitor]
:as cfg}
genotype)
(evolve {:keys [:chickn.core/terminated? :chickn.core/reporter] :as cfg}
genotype
n)
(init {:keys [:chickn.core/chromo-gen :chickn.core/pop-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