Expand description
Spawn policies for evolutionary agent creation.
When an agent dies, the colony can spawn a replacement using a policy. The FitnessSpawnPolicy creates a mutated offspring of the fittest living agent, implementing biological selection.
Structs§
- Fitness
Spawn Policy - Fitness-based spawn: create mutated offspring of the fittest agent.
- NoSpawn
Policy - No-spawn policy: never create new agents (static population).
- Random
Spawn Policy - Random spawn policy: create agents with random genomes (control group).
Traits§
- Spawn
Policy - Trait for spawn policies.