NEAT Ant Foraging & Predator Simulation

Generation 0
Best Prey Fitness 0
Best Predator Fitness 0
Alive Prey 0
Alive Predators 0
Food Found 0
Prey Caught 0
Prey Wins 0
Predator Wins 0

Simulation Parameters

Prey Settings

Predator Settings

About This Simulation

This simulation demonstrates ants (prey) learning to find food while avoiding predators via the NEAT algorithm. The neural networks evolve over generations to develop foraging and hunting strategies.

Technical Details

Prey Neural Network: Uses food, obstacle, and predator sensors to control movement
Predator Neural Network: Uses prey and obstacle sensors to optimize hunting strategies
Settings: Prey settings are applied immediately, predator settings affect the next generation
Predators: Are off by default – when disabled they won't be added to the next generation, but their evolution state is saved