Crate neat

source ·
Expand description

A simple crate that implements the Neuroevolution Augmenting Topologies algorithm using genetic-rs

§Feature Roadmap:

  • base (single-core) crate
  • rayon
  • crossover

You can get started by

Re-exports§

Modules§

Structs§

Traits§

Functions§

  • When making a new generation, it despawns half of the entities and then spawns children from the remaining to reproduce. WIP: const generic for mutation rate, will allow for DivisionReproduction::spawn_child to accept a custom mutation rate. Delayed due to current Rust limitations
  • When making a new generation, it mutates each entity a certain amount depending on their reward. This nextgen is very situational and should not be your first choice.

Type Aliases§

  • Represents a fitness function. Inputs a reference to the entity and outputs an f32.
  • Represents a nextgen function. Inputs entities and rewards and produces the next generation