batch_simulation: Run a batch of simulations in a console interface

Description Usage

View source: R/Simulation.R

Description

Simulate the trust model and the mobile network and iterate for an amount of time for differing amounts of adversaries

Usage

1
2
3
4
5
6
7
8
batch_simulation(
  total_time,
  map_filename = system.file("extdata", "map.csv", package = "li19trustmodel"),
  config = system.file("extdata", "params.json", package = "li19trustmodel"),
  num_adversaries = c(0, 2, 5, 8, 10),
  adversary_types = c("BadMouther", "ContextSetter"),
  colours = c("blue", "red", "green", "orange", "purple")
)

codymlewis/li-19-trust-model documentation built on April 13, 2020, 12:38 a.m.