evco

Incomplete Genetic Programming library for Rust.


Keywords
genetic-programming, rust
License
LGPL-3.0

Documentation

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.