Genetic Programming in Rust
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
examples
src
.gitignore
.travis.yml
Cargo.toml
LICENSE
README.md

README.md

evco

An Evolutionary Computing library for Rust. Currently an incomplete implementation of Genetic Programming.

Status

Build Status Coverage 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 approximate x^4 + x^3 + x^2 + x. Run it using cargo 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 using cargo 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.