dvcompute_experiment_branch/
lib.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
7//! This crate is a part of discrete event simulation framework DVCompute Simulator (registration
8//! number 2021660590 of Rospatent). The `dvcompute_experiment_dist` crate defines simulation
9//! experiments for optimistic distributed simulation, but the same code base is shared by
10//! the `dvcompute_experiment_branch` crate destined for nested simulation.
11//!
12//! There are the following main crates: `dvcompute` (sequential simulation),
13//! `dvcompute_dist` (optimistic distributed simulation),
14//! `dvcompute_cons` (conservative distributed simulation) and
15//! `dvcompute_branch` (nested simulation). All four crates are
16//! very close. They are based on the same method.
17//!
18//! You can find examples in the author's repository: <https://gitflic.ru/project/dsorokin/dvcompute>.
19
20#[cfg(feature="dist_mode")]
21extern crate log;
22
23extern crate urlencoding;
24
25#[cfg(feature="branch_mode")]
26extern crate rayon;
27
28extern crate dvcompute_dist;
29extern crate dvcompute_results_dist;
30extern crate dvcompute_utils;
31
32#[cfg(feature="dist_mode")]
33extern crate dvcompute_network;
34
35/// The main simulation module.
36pub mod simulation;
37
38#[cfg(test)]
39mod tests {
40    #[test]
41    fn it_works() {
42    }
43}