Petri.Result (petri v0.1.0)

Copy Markdown View Source

The return value of Petri.run/2.

Fields

  • best — a {chromosome, fitness} tuple for the best individual found
  • history — a list of per-generation snapshots (see Petri.Recorder)
  • generations_run — number of generations completed
  • evaluations — total number of fitness function calls

Summary

Functions

new(best, history, state)