R6
class for dynamically attaching simulator attributes
and results (passed by reference).
Public fields
attached
A list of dynamically attached simulator attributes (name-value pairs).
results
A list of dynamically accessed simulator results (name-value pairs).
Examples
test_class <- SimulatorReference$new()
test_class$attached$attr1 <- "example1"
test_class$results$attr1 <- "example2"
str(test_class)
#> Classes 'SimulatorReference', 'R6' <SimulatorReference>
#> Public:
#> attached: list
#> clone: function (deep = FALSE)
#> results: list