Liking cljdoc? Tell your friends :D

chickn.core


adjust-sizeclj/s

(adjust-size {pop-size :chickn.core/pop-size
              chromo-gen :chickn.core/chromo-gen
              monitor :chickn.core/monitor}
             chromos)
source

apply-opsclj/s

(apply-ops {:keys [:chickn.core/monitor] :as cfg} ops-cfgs chromos)
source

apply-selsclj/s

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

default-cfgclj/s

source

eval-popclj/s

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

evolveclj/s

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

gen-popclj/s

(gen-pop pop-size chromo-size rf)
source

genes->chromoclj/s

(genes->chromo genes)
source

higher-is-betterclj/s

source

initclj/s

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

init-and-evolveclj/s

(init-and-evolve cfg n)
source

lower-is-betterclj/s

source

mark-elitsclj/s

(mark-elits chromos)
source

raw-pop->popclj/s

(raw-pop->pop pop)
source

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

× close