Crate simul

Crate simul 

Source
Expand description

simul is a discrete-event simulation library for running high-level simulations of real-world problems and for running simulated experiments.

simul is a discrete-event simulator using incremental time progression, with M/M/c queues for interactions between agents. It also supports some forms of experimentation and simulated annealing to replicate a simulation many times, varying the simulation parameters.

Use-cases:

Re-exports§

pub use agent::*;
pub use message::*;

Modules§

agent
experiment
message

Structs§

Simulation
A Simulation struct is responsible to hold all the state for a simulation and coordinates the actions and interactions of the agents.
SimulationParameters
The parameters to create a Simulation.

Enums§

SimulationMode
The current mode of a Simulation.

Type Aliases§

DiscreteTime
DiscreteTime is a Simulation’s internal representation of time.