2 releases
Uses old Rust 2015
0.2.1 | Feb 26, 2017 |
---|---|
0.2.0 | Feb 26, 2017 |
#38 in #incomplete
22KB
440 lines
evco
An Evolutionary Computing library for Rust. Currently an incomplete implementation of Genetic Programming.
Status
Description
This approach is inspired by the GP in Python's DEAP. The aim is for evco
to be more performant and obtain simpler code through Rust's typesystem.
Examples
- SYMBOLIC REGRESSION:
examples/symbolic_regression.rs
evolves a Symbolic Regression to approximatex^4 + x^3 + x^2 + x
. Run it usingcargo run --example symbolic_regression
. - (Unfinished) SNAKE AI:
examples/snake.rs
will in time evolve a Snake AI. For now it simply evaluates random trees. Run it usingcargo run --example snake
.
Development
- Reformat code with
cargo fmt
. - Lint code with
cargo build --features dev
. - Run tests with
cargo test
.
License
evco
is distributed under the LGPLv3.0 license.
Dependencies
~330–580KB