Simulate the trust model and the mobile network and iterate for an amount of time for differing amounts of adversaries
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")
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.