Expand description
The modeling module provides the fundamental building blocks for defining discrete event simulation models.
It includes traits and structures for:
agent: Representing autonomous entities within the simulation.event: Defining events that drive the simulation.hook: Observing and reacting to simulation events and state changes.model: Implementing the core simulation logic.sampler: Generating random data for stochastic simulations.source: Generating events periodically or based on specific conditions.
Modules§
- agent
- The
agentmodule provides structures for defining and managing autonomous agents within a discrete event simulation. - event
- The
eventmodule defines the core components for representing events in the simulation. - hook
- The
hookmodule defines theHooktrait, which provides a powerful mechanism for observing and interacting with the simulation’s lifecycle. - model
- The
modelmodule defines theModeltrait, which is the fundamental interface for any simulation model indes-sim. - sampler
- The
samplermodule provides traits and implementations for generating random or pseudo-random durations within the simulation. - source
- The
sourcemodule defines theSourcetrait, which is used to create event generators within the simulation.