Crate darwin_rs [] [src]

darwin-rs: evolutionary algorithms with Rust

Written by Willi Kappler, Version 0.1 (2016.06.11)

Repository: https://github.com/willi-kappler/darwin-rs

License: MIT

This library allows you to write evolutionary algorithms (EA) in Rust. Examples provided: TSP, Sudoku, Queens Problem

Structs

IndividualWrapper

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.

Simulation

The Simulation type. Contains all the information / configuration for the simulation to run.

SimulationBuilder

This is a helper struct in order to build (configure) a valid simulation. See builder pattern: https://en.wikipedia.org/wiki/Builder_pattern

Enums

Error
SimulationType

The SimulationType type. Speficies the criteria on how a simulation should stop.

Traits

Individual

This trait has to be implemented for the user defined struct.

Type Definitions

Result