dvcompute_branch/simulation/mod.rs
1// Copyright (c) 2020-2022 David Sorokin <davsor@mail.ru>, based in Yoshkar-Ola, Russia
2//
3// This Source Code Form is subject to the terms of the Mozilla Public
4// License, v. 2.0. If a copy of the MPL was not distributed with this
5// file, You can obtain one at https://mozilla.org/MPL/2.0/.
6
7mod point;
8pub use self::point::Point;
9
10mod specs;
11pub use self::specs::Specs;
12pub use self::specs::SpecsRepr;
13
14mod run;
15pub use self::run::Run;
16
17mod result;
18pub use self::result::Result;
19
20/// The type of errors that may arise during simulation.
21pub mod error;
22
23/// The random number generator.
24pub mod generator;
25
26/// A mutable reference computation.
27pub mod ref_comp;
28
29/// The `Parameter` computation to define external parameters.
30pub mod parameter;
31
32/// The `Simulation` computation as a function of run.
33pub mod simulation;
34
35/// The `Event` computation synchronized with the event queue.
36pub mod event;
37
38/// The `Observable` computation that allows notifying about events.
39pub mod observable;
40
41/// The `Process` computation to represent discontinuous processes.
42pub mod process;
43
44/// The `Composite` trait to create disposable computations.
45pub mod composite;
46
47/// The `Stream` type to represent infinite streams.
48pub mod stream;
49
50/// The queue strategies.
51pub mod strategy;
52
53/// The resources.
54pub mod resource;
55
56/// A communication part of the logical process.
57#[cfg(feature="dist_mode")]
58pub mod comm;
59
60/// The queues.
61pub mod queue;
62
63/// Definitions related to nested simulation.
64#[cfg(any(feature="branch_mode", feature="branch_wasm_mode"))]
65pub mod branch;
66
67/// The utilities used in the simulation library.
68#[doc(hidden)]
69pub mod utils;
70
71/// The internal details of implementation.
72#[doc(hidden)]
73pub mod internal;