Skip to content

Module: NumTimeSample

Niema Moshiri edited this page Sep 7, 2020 · 16 revisions

The NumTimeSample module chooses the number of times a given individual in the ContactNetwork will be sampled. See the source code to see what is defined by the abstract class.

List of Implementations

  • Implements the NumTimeSample_File module such that the sample times are read from file
  • Requirements:
  • Config Parameters:
  • Each infected individual in the contact network is sampled a fixed user-specified number of times.
  • Requirements:
    • None
  • Config Parameters:
    • num_sample_times_per_individual: The desired number of times to sample each infected individual
  • Each infected node is sampled exactly once
  • Requirements:
    • None
  • Config Parameters:
    • None
  • Each infected individual in the contact network is sampled a number of times that is sampled from a Poisson distribution
  • Requirements:
  • Config Parameters:
    • num_time_sample_lambda : The rate of the Poisson distribution from which to sample times to sample each infected individual