This module defines the trait and the data structure needed for specifying each individual in a population.
darwin-rs: evolutionary algorithms with Rust
Written by Willi Kappler, Version 0.4 (2017.06.26)
This library allows you to write evolutionary algorithms (EA) in Rust. Examples provided: TSP, Sudoku, Queens Problem, OCR
A wrapper helper struct for the individuals. It does the book keeping of the fitness and the number of mutations this individual has to run in one iteration.
This trait has to be implemented for the user defined struct. In order to share common data between all individuals use Arc. See TSP and OCR exmaples.