Expand description
Colony — agent lifecycle management.
The colony is the organism. It manages the birth, life, and death of agents, runs the tick-based simulation loop, and coordinates agent access to the shared substrate.
Each tick:
- All agents sense the substrate and decide an action
- The colony processes all actions (moves, digestions, signals)
- Dead agents are removed, death signals collected
- The substrate decays signals and traces
- The tick counter advances
Structs§
- Agent
Snapshot - A serializable snapshot of an agent’s state.
- Colony
- The colony — manages agent lifecycle and simulation.
- Colony
Config - Configuration for colony simulation parameters.
- Colony
Snapshot - A complete serializable snapshot of the colony at a point in time.
- Colony
Stats - Statistics about the colony.
- Edge
Snapshot - A serializable snapshot of a graph edge.
- Node
Snapshot - A serializable snapshot of a graph node.
Enums§
- Colony
Event - Event emitted by the colony during simulation.