-
Notifications
You must be signed in to change notification settings - Fork 4
Module: TransmissionNodeSample
Niema Moshiri edited this page Mar 29, 2017
·
26 revisions
The TransmissionNodeSample module chooses two nodes to be involved in a given transmission event. See the source code to see what is defined by the abstract class.
-
TransmissionNodeSample_RandomMultiInfection
- For each transmission, the source node is selected from the set of all infected nodes in the Contact Network with equal probability, and the destination node is selected from the set of all of the source's neighbors with equal probability
- In other words, multi-infections are allowed
- Requirements:
- None
- Config Parameters:
- None
- For each transmission, the source node is selected from the set of all infected nodes in the Contact Network with equal probability, and the destination node is selected from the set of all of the source's neighbors with equal probability
-
TransmissionNodeSample_RandomSingleInfection
- For each transmission, the source node is selected from the set of all infected nodes in the Contact Network with equal probability, and the destination node is selected from the set of all of the source's uninfected neighbors with equal probability
- Requirements:
- None
- Config Parameters:
- None
-
TransmissionNodeSample_SI
- Transmission network is simulated via the SI model
- Requirements:
- Must use
TransmissionTimeSample_SI
module
- Must use
- Config Parameters:
-
infection_rate
: The rate at which susceptible individuals are infected (per infected and time)
-
-
TransmissionNodeSample_GEMF
- For use with a GEMF TransmissionTimeSample module
- Requirements:
- Must use
EndCriteria_GEMF
module - Must use a GEMF TransmissionTimeSample module
- Must use
- Config Parameters:
-
gemf_path
: The path to yourGEMF
executable (or simply"GEMF"
if it is in yourPATH
variable)
-
-
TransmissionNodeSample_TransmissionFile
- Transmission network is read from file
- Requirements:
- Must use
EndCriteria_TransmissionFile
module - Must use
SeedSelection_TransmissionFile
module - Must use
TransmissionTimeSample_TransmissionFile
module
- Must use
- Config Parameters:
-
transmission_network_file
: The desired transmission network, represented in the FAVITES Transmission Network File Format
-
Niema Moshiri & Siavash Mirarab 2016