Info
This post was imported from a personal note. It may contain inside jokes, streams of consciousness, errors, and other nonsense.
Was on the fence about whether to keep IAgent interface so I could have Boids and BraitenBoids and whatever else. I’m going ahead with it. Actually, I’m partway through and I wish I’d split the work up into multiple steps. I’ll stash this branch for now but the steps would be:
- Rename BoidProps to AgentProps.
- Factor out Evolution from MainVisualize and MainEvaluate.
- Make Simulation::boids private.
- Remove Boid::fitnessScore.
- Change Simulation::boids and related methods to use IAgent and “agents.”