Skip to content

Module: NodeAvailability

Niema Moshiri edited this page Jul 9, 2018 · 6 revisions

The NodeAvailability module subsamples the nodes in the Contact Network (to simulate imperfect epidemiological efforts). See the source code to see what is defined by the abstract class.

List of Implementations

  • For each infected Contact Network node, sample from a Bernoulli trial with a user-specified probability of success, and only sample this individual upon success
  • Requirements:
    • None
  • Config Parameters:
    • node_sample_prob: The probability of success, p, for the Bernoulli trials
  • No infected individuals in the Contact Network are available
  • Requirements:
  • Config Parameters:
    • None
  • Perfect sampling of all infected Transmission Network nodes
  • Requirements:
    • None
  • Config Parameters:
    • None
  • The probability that a given ContactNetwork node is sampled is weighted by the number of transmission events in which the node was involved (either as the infector or the infectee)
  • Requirements:
    • None
  • Config Parameters:
    • node_sample_fraction: The fraction of total infected nodes you wish to sample