Functions to create individuals and populations
Functions to create individuals and populations
(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.
(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.
(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`
(uuid)
Split operator to generate v1 uuids based on runtime env
Split operator to generate v1 uuids based on runtime env
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close