CovidAlertVaccinationModel.jl 1.72 KB
Newer Older
1
module CovidAlertVaccinationModel
2 3
using LightGraphs
using RandomNumbers.Xorshifts
4
using Random
5 6 7 8
using UnPack
using Plots
using Distributions
using StatsBase
Peter Jentsch's avatar
Peter Jentsch committed
9
using OnlineStats
10
using Dates
11
using LinearAlgebra
12
using CovidAlertVaccinationModel
Peter Jentsch's avatar
Peter Jentsch committed
13
using ThreadsX
14
using DelimitedFiles
15
using KernelDensity
Peter Jentsch's avatar
Peter Jentsch committed
16
using NamedTupleTools
17
using NetworkLayout:Stress
18
using NetworkLayout:SFDP
19
using ZeroWeightedDistributions
20
using DataStructures
21 22 23 24
using Serialization
using BenchmarkTools
using Intervals
using KissABC
Peter Jentsch's avatar
Peter Jentsch committed
25
using CSV
26
using DataFrames
27
using StaticArrays
28 29
import LightGraphs.neighbors

Peter Jentsch's avatar
Peter Jentsch committed
30
export intervalsmodel, hh, ws, rest, abm,multivariate_simulations
31

Peter Jentsch's avatar
Peter Jentsch committed
32 33 34 35 36 37 38
# const DNDEBUG = false
# macro c_assert(boolean) #this is a version of @assert that turns itself off when DNDEBUG=false, should use more
#     if DNDEBUG
#          message = string("Assertion: ", boolean, " failed")
#          :($(esc(boolean)) || error($message))
#     end
# end
39

Peter Jentsch's avatar
Peter Jentsch committed
40
const durmax = 144
41
const PACKAGE_FOLDER = dirname(dirname(pathof(CovidAlertVaccinationModel)))
42

43
const color_palette = palette(:seaborn_pastel) #color theme for the plots
Peter Jentsch's avatar
Peter Jentsch committed
44

45 46
include("utils.jl")
include("data.jl")
47
include("ABM/contact_vectors.jl")
48
include("ABM/mixing_distributions.jl")
49
include("ABM/mixing_graphs.jl")
50
include("ABM/agents.jl")
51
include("ABM/model_setup.jl")
Peter Jentsch's avatar
Peter Jentsch committed
52
include("ABM/parameter_optimization.jl")
53
include("ABM/output.jl")
54
include("ABM/solve.jl")
55 56
include("ABM/abm.jl") 
include("ABM/parameter_planes.jl")
Peter Jentsch's avatar
Peter Jentsch committed
57
include("ABM/plotting.jl")
58

59 60 61 62 63 64
include("IntervalsModel/intervals_model.jl")
include("IntervalsModel/interval_overlap_sampling.jl")
include("IntervalsModel/hh_durations_model.jl")
include("IntervalsModel/ws_durations_model.jl")
include("IntervalsModel/rest_durations_model.jl")
include("IntervalsModel/plotting_functions.jl")
65

66
end