Commit b1acc8c5 authored by Peter Jentsch's avatar Peter Jentsch
Browse files

changes to reduce noise implemented

parent 7a0347d8
...@@ -82,9 +82,9 @@ Assumes the simulation begins on Thursday arbitrarily. ...@@ -82,9 +82,9 @@ Assumes the simulation begins on Thursday arbitrarily.
function time_dep_mixing_graphs(len,base_network,demographics,index_vectors,ws_matrix_tuple,rest_matrix_tuple) function time_dep_mixing_graphs(len,base_network,demographics,index_vectors,ws_matrix_tuple,rest_matrix_tuple)
#weekly multiply durations by 1/5 #weekly multiply durations by 1/5
daily_shift(dur_dists) = dur_dists#shift_contact_distributions(dur_dists,1/5) daily_shift(dur_dists) = shift_contact_distributions(dur_dists,1/5)
#daily multiply by 1/2 #daily multiply by 1/2
weekly_shift(dur_dists) = dur_dists#shift_contact_distributions(dur_dists,1/2) weekly_shift(dur_dists) = shift_contact_distributions(dur_dists,1/2)
home_static_edges = WeightedGraph(base_network,demographics,contact_time_distributions.hh) #network with households and LTC homes home_static_edges = WeightedGraph(base_network,demographics,contact_time_distributions.hh) #network with households and LTC homes
...@@ -202,7 +202,7 @@ function remake!(wg::WeightedGraph,index_vectors) ...@@ -202,7 +202,7 @@ function remake!(wg::WeightedGraph,index_vectors)
empty!.(wg.g.fadjlist) #empty all the vector edgelists empty!.(wg.g.fadjlist) #empty all the vector edgelists
wg.g.ne = 0 wg.g.ne = 0
empty!(wg.weights_dict) empty!(wg.weights_dict)
assemble_graph!(wg.g,wg.weights_dict,index_vectors,wg.mixing_matrix,wg.sampler_matrix,wg.degrees_matrix; resample_degrees = true) assemble_graph!(wg.g,wg.weights_dict,index_vectors,wg.mixing_matrix,wg.sampler_matrix,wg.degrees_matrix; resample_degrees = false)
end end
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
κ = 0.0, κ = 0.0,
ω = 0.0061, ω = 0.0061,
ω_en = 0.05, ω_en = 0.05,
Γ = 1/7,#0.906, Γ = 0.906,
ξ = 5.0, ξ = 5.0,
notification_parameter = 0.0005, notification_parameter = 0.0005,
vaccinator_prob = 0.6, vaccinator_prob = 0.6,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment