-
Notifications
You must be signed in to change notification settings - Fork 4
Module: EndCriteria
Niema Moshiri edited this page Jul 9, 2018
·
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.
- 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
-
- For use with a GEMF TransmissionTimeSample module
- Requirements:
- Must use
TransmissionNodeSample_GEMF
module - Must use a GEMF TransmissionTimeSample module
- Must use
- Config Parameters:
-
gemf_path
: The path to yourGEMF
executable (or simply"GEMF"
if it is in yourPATH
variable)
-
- Simulations end before any transmissions occur (useful if you want to only simulate a contact network)
- Requirements:
- Must use
NodeEvolution_None
module - Must use
NodeSample_Perfect
module - Must use
SequenceEvolution_NoMutation
module - Must use
Sequencing_Perfect
module - Must use
TransmissionTime_Instant
module
- Must use
- Config Parameters:
- None
- 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
-
- Transmission network is read from file
- Requirements:
- Must use
SeedSelection_TransmissionFile
module - Must use
TransmissionNodeSample_TransmissionFile
module - Must use
TransmissionTimeSample_TransmissionFile
module
- Must use
- Config Parameters:
-
transmission_network_file
: The desired transmission network, represented in the FAVITES Transmission Network File Format
-
- 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
-
Niema Moshiri & Siavash Mirarab 2016