Expand description
Modules§
- actors
- Agent traits and execution contexts for both single-threaded and multi-threaded simulations.
Provides
Agenttrait for single-threaded clusters andThreadedAgentfor multi-threaded planets, along with their respective context structures that manage state and inter-agent communication. - env
- mt
- Multi-threaded simulation execution with support for optimistic and conservative synchronization. Currently implements hybrid synchronization based on Clustered Time Warp architecture for parallel discrete event simulation across multiple threads.
- objects
- Core data structures for simulation including messages, events, and scheduling primitives.
Contains
Msgfor inter-actor communication,Eventfor actor scheduling,AntiMsgfor optimistic rollback, and local event/mail systems for efficient time-based scheduling. - prelude
- st
- Single-threaded simulation world supporting multiple actors with message passing capabilities.
Provides a
LonePlanetstruct that manages actor execution, event scheduling, and local message delivery in a deterministic single-threaded environment with configurable time bounds.
Macros§
Enums§
- Aika
Error - Error enum for provide feedback on simulation errors