2 releases
new 0.1.1 | Feb 21, 2025 |
---|---|
0.1.0 | Feb 21, 2025 |
#330 in Simulation
Used in 3 crates
315KB
5K
SLoC
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.
lib.rs
:
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.
Dependencies
~4–6MB
~126K SLoC