3 unstable releases
Uses new Rust 2024
| 0.2.0 | Jun 20, 2025 |
|---|---|
| 0.1.1 | Feb 21, 2025 |
| 0.1.0 | Feb 21, 2025 |
#641 in Simulation
173 downloads per month
Used in 3 crates
345KB
5K
SLoC
The core crate is the central component of the ODEM-rs library, providing
the foundational elements for object-based discrete-event modeling. It
defines key structures, traits, and functions that enable the modeling of
concurrent systems through cooperative concurrency.
The core crate includes essential components like configuration handling,
error management, and core simulation functionalities.
ODEM-rs Core
odem-rs-core is the foundational crate of the ODEM-rs library, providing essential structures and traits for
object-based discrete-event modeling in Rust. It defines the core components that facilitate agent-based simulation
modeling, event scheduling, and cooperative concurrency.
Features
- Provides the key simulation structures
Agent,Job, andContinuation, as well as the simulation contextSim. - Implements event scheduling and deterministic execution.
- Contains supporting structures and traits like intrusively counted pointers (
Irc), theConfig-trait, and theScheduler-trait.
Installation
Using the entry crate odem-rs is recommended, but it is possible to use this crate as a standalone simulator core.
[dependencies]
odem-rs-core = "*"
License
Licensed under MIT. See LICENSE for details.
Dependencies
~10–14MB
~200K SLoC