Skip to content

Module: EndCriteria

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

The EndCriteria module determines whether or not the simulation process should terminate at any given moment. See the source code to see what is defined by the abstract class.

List of Implementations

  • EndCriteria_FirstTimeTransmissions
    • The user can specify both an end time and a number of transmissions as ending criteria, and the first to be reached will end the simulation
    • Requirements:
      • None
    • Config Parameters:
      • end_time: The time at which to end the transmission simulation
      • end_transmissions: The number of transmissions after which to end the transmission simulation
  • EndCriteria_Time
    • The user can specify an end time, and the simulation will end when the time is reached
    • Requirements:
      • None
    • Config Parameters:
      • end_time: The time at which to end the transmission simulation
  • EndCriteria_TransmissionFile
    • Transmission network is read from file
    • Requirements:
      • Must use SeedSelection_TransmissionFile module
      • Must use TransmissionNodeSample_TransmissionFile module
      • Must use TransmissionTimeSample_TransmissionFile module
    • Config Parameters:
      • transmission_network_file: The desired transmission network (see the File Formats page for format information)
  • EndCriteria_Transmissions
    • The user can specify an ending number of transmissions, and the simulation will end when the number of transmissions is reached
    • Requirements:
      • None
    • Config Parameters:
      • end_transmissions: The number of transmissions after which to end the transmission simulation