Liking cljdoc? Tell your friends :D

chickn.core


default-cfgclj/s

source

eval-popclj/s

(eval-pop {fitness :chickn.core/fitness
           comparator :chickn.core/comparator
           monitor :chickn.core/monitor
           parallel :chickn.core/parallel}
          pop)
source

evolveclj/s

(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)
source

genes->chromoclj/s

(genes->chromo genes)
source

higher-is-betterclj/s

source

initclj/s

(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)
sourceraw docstring

init-and-evolveclj/s

(init-and-evolve cfg n)
source

lower-is-betterclj/s

source

raw-pop->popclj/s

(raw-pop->pop pop)
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close