Petri: Evolutionary Computing Toolkit
Tools for running evolutionary algorithms
Please read the API documentation
Note: This project is currently a work in progress. If somehow you stumble upon this library: you should not use this library as its incomplete and the API is not stable.
Usage
// Import what algorithms we're going to use
use ;
use Tournament;
use TwoPoint;
use FlipBit;
use thread_rng;
// Create the fitness function to evaluate a genome with
// Create the runner
let mut gen_runner = new;
// Initialize population
gen_runner.initialize;
// run the algorithm
while !gen_runner.is_done
// View our final population
println!;
Contributing
Please see CONTRIBUTING.md
License
Dual-licensed to be compatible with the Rust project.
Licensed under the Apache License, Version 2.0 http://www.apache.org/licenses/LICENSE-2.0 or the MIT license http://opensource.org/licenses/MIT, at your option. This file may not be copied, modified, or distributed except according to those terms.