Skip to main content

Module modeling

Module modeling 

Source
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 agent module provides structures for defining and managing autonomous agents within a discrete event simulation.
event
The event module defines the core components for representing events in the simulation.
hook
The hook module defines the Hook trait, which provides a powerful mechanism for observing and interacting with the simulation’s lifecycle.
model
The model module defines the Model trait, which is the fundamental interface for any simulation model in des-sim.
sampler
The sampler module provides traits and implementations for generating random or pseudo-random durations within the simulation.
source
The source module defines the Source trait, which is used to create event generators within the simulation.