Petri.Recorder (petri v0.1.0)

Copy Markdown View Source

Records per-generation statistics from a population.

A population is a list of {chromosome, fitness} tuples. The recorder computes max, mean, min fitness and uses the population standard deviation of fitness as a simple diversity measure.

Summary

Functions

Build a snapshot from a population of {chromosome, fitness} tuples.

Functions

record(population)

Build a snapshot from a population of {chromosome, fitness} tuples.