Petri.Chromosome.Real (petri v0.1.0)

Copy Markdown View Source

A chromosome whose genes are real-valued floats with per-gene bounds.

bounds is a list of {lo, hi} tuples, one per gene. Crossover and mutation operators clamp output to these bounds.