Helper functions for common fitness function needs
Helper functions for common fitness function needs
(binary-sequence-to-int binary-seq)
Convert binary-seq
, a collection of binary values, to the positive integer it represents
Convert `binary-seq`, a collection of binary values, to the positive integer it represents
(gray-binary-sequence-to-int binary-seq)
Convert binary-seq
, a collection of binary values, to the positive integer it represents
when considered by its Grey Coding: https://en.wikipedia.org/wiki/Gray_code
Convert `binary-seq`, a collection of binary values, to the positive integer it represents when considered by its Grey Coding: https://en.wikipedia.org/wiki/Gray_code
(int-to-decimal-mesh val-to-convert lower-bound upper-bound blocks)
Splits the continuous range from lower-bound
to upper-bound
into discrete blocks
,
than returns the decimal value of the val-to-convert
th block
Splits the continuous range from `lower-bound` to `upper-bound` into discrete `blocks`, than returns the decimal value of the `val-to-convert`th block
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close