Liking cljdoc? Tell your friends :D

nature.initialization-operators

Functions to create individuals and populations

Functions to create individuals and populations
raw docstring

build-individualclj/s

(build-individual genetic-sequence fitness-function)
(build-individual genetic-sequence parent-coll age fitness-function)

Generate a new individual, and evaluate the fitness of the genetic sequence.

Generate a new individual, and evaluate the fitness of the genetic sequence.
raw docstring

build-populationclj/s

(build-population population-size sequence-generator-function fitness-function)
(build-population population-size alleles sequence-length fitness-function)

Build population-size individuals by invoking build-individual on random, conforming genetic sequences. If given a sequence generator function, uses this function to generate valid sequences instead.

Build `population-size` individuals by invoking `build-individual` on random, conforming genetic sequences.
If given a sequence generator function, uses this function to generate valid sequences instead.
raw docstring

generate-sequenceclj/s

(generate-sequence alleles sequence-length)

Creates a genetic sequence of sequence-length elements, where each item is in the collection of alleles

Creates a genetic sequence of `sequence-length` elements,
where each item is in the collection of `alleles`
raw docstring

uuidclj/s

(uuid)

Split operator to generate v1 uuids based on runtime env

Split operator to generate v1 uuids based on runtime env
raw docstring

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

× close