-
Notifications
You must be signed in to change notification settings - Fork 75
/
Copy pathNAMESPACE
76 lines (70 loc) · 2.07 KB
/
NAMESPACE
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
importFrom("methods", "as")
importFrom("methods", "callNextMethod")
importFrom("methods", "is")
importFrom("methods", "new")
importFrom("methods", "setClass")
importFrom("methods", "slot")
importFrom("R6", "R6Class")
importFrom("xptr", "is_null_xptr")
importFrom("parallel", "makeCluster")
importFrom("parallel", "stopCluster")
importFrom("parallel", "clusterApply")
importFrom("parallel", "detectCores")
import("data.table")
importFrom( "plotly", "plot_ly" )
importFrom( "plotly", "layout" )
importFrom( "plotly", "animation_opts" )
importFrom( "plotly", "colorbar" )
importFrom( "plotly", "%>%" )
importFrom( "stringr", "str_replace_all")
importFrom( "utils", "read.csv")
# R6 Classes
export("Parameters")
export("Model")
export("Network")
export("Environment")
export("Agent")
export("Simulation")
export("Strain")
export("COVID19IBM")
export("VaccineSchedule")
export("Vaccine")
export("MetaModel")
# wrapper function for R6 calsses
export("Parameters.new")
export("Parameters.get_param")
export("Parameters.set_param")
export("Parameters.default_param")
export("Model.new")
export("Model.one_time_step")
export("Model.one_time_step_results")
export("Model.results")
export("Model.run")
export("Model.get_param")
export("Model.update_running_params")
export("Model.get_transmissions")
# MetaModel
export( "MetaModel.rectangle")
export( "MetaModel.England")
# Enums
export("AgeGroupEnum")
export("SAFE_UPDATE_PARAMS")
export("NETWORK_CONSTRUCTIONS")
export("VACCINE_TYPES")
export("VACCINE_STATUS")
# constants
export( "UNKNOWN" )
export("plot.value.total_infected")
export("plot.value.new_infected")
export("plot.values")
export("plot.value.total_infected_strain_0")
export("plot.value.new_infected_strain_0")
export("plot.value.total_infected_strain_1")
export("plot.value.new_infected_strain_1")
export("plot.value.total_infected_strain_2")
export("plot.value.new_infected_strain_2")
export("plot.value.total_infected_strain_3")
export("plot.value.new_infected_strain_3")
export("plot.value.total_infected_strain_4")
export("plot.value.new_infected_strain_4")
useDynLib(OpenABMCovid19, .registration = TRUE)