Skip to content

Module: SeedSelection

Niema Moshiri edited this page Mar 2, 2017 · 28 revisions

The SeedSelection module chooses which nodes in the ContactNetwork object to be initially infected. See the source code to see what is defined by the abstract class.

List of Implementations

  • SeedSelection_Random
    • Seed nodes are selected from the set of all nodes in the contact network with equal probability
    • Requirements:
      • None
    • Config Parameters:
      • num_seeds: The desired number of seed nodes
  • SeedSelection_TransmissionFile
    • Transmission network is read from file
    • Requirements:
      • None
    • Config Parameters:
      • transmission_network_file: The desired transmission network (see the File Formats page for format information)
      • seed_file: The desired seed nodes (see the File Formats page for format information)