Liking cljdoc? Tell your friends :D

nature.genetic-operators

Functions to transform individuals and create

Functions to transform individuals and create
raw docstring

crossoverclj

(crossover fitness-function)

A curried form of crossover* to more easily pass around

A curried form of `crossover*` to more easily pass around
sourceraw docstring

crossover*clj

(crossover* fitness-function selected-individuals)

Construct two new individuals by splitting the genetic sequences of two parents and crossing them over wiith each other

Construct two new individuals by splitting the genetic sequences of two parents and crossing them over wiith each other
sourceraw docstring

fitness-based-scanningclj

(fitness-based-scanning fitness-function)

A curried form of fitness-based-scanning* to more easily pass around

A curried form of `fitness-based-scanning*` to more easily pass around
sourceraw docstring

fitness-based-scanning*clj

(fitness-based-scanning* fitness-function selected-individuals)

Construct a new inidiviidual, where each allele is picked from a parent base on the ratio of their fitnesses

Construct a new inidiviidual, where each allele is picked from a parent base on the ratio of their fitnesses
sourceraw docstring

fitness-based-scanning-alleleclj

(fitness-based-scanning-allele allele-1 allele-2 percent)

Pick one of two alleles

Pick one of two alleles
sourceraw docstring

fitness-based-scanning-genomeclj

(fitness-based-scanning-genome sequence-1 sequence-2 percent)
source

mutation-operatorclj

(mutation-operator fitness-function allele-set percent individual)

Construct a new individual, by flipping alleles in the genetiic sequence to a random legal allele

Construct a new individual, by flipping alleles in the genetiic sequence to a random legal allele
sourceraw docstring

no-opclj

(no-op fitness-function selected-individuals)

A proxy for identity to signal when a particular operation category is not needed, but the selected-individuals are kept in the pool

A proxy for `identity` to signal when a particular operation category is not needed,
but the `selected-individuals` are kept in the pool
sourceraw docstring

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

× close