Skip to content

Module: TransmissionNodeSample

Niema Moshiri edited this page Jul 9, 2018 · 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.

List of Implementations

  • For use with a GEMF TransmissionTimeSample module
  • Requirements:
  • Config Parameters:
    • gemf_path: The path to your GEMF executable (or simply "GEMF" if it is in your PATH variable)
  • 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 uninfected neighbors with equal probability
  • Requirements:
    • None
  • Config Parameters:
    • None
  • Transmission network is simulated via the SI model
  • Requirements:
    • Must use TransmissionTimeSample_SI module
  • Config Parameters:
    • infection_rate: The rate at which susceptible individuals are infected (per infected and time)
  • Transmission network is read from file
  • Requirements:
    • Must use EndCriteria_TransmissionFile module
    • Must use SeedSelection_TransmissionFile module
    • Must use TransmissionTimeSample_TransmissionFile module
  • Config Parameters: