Skip to content

condition

Syntax

condition <condition_name> {

    # INITIAL STATES
    start_state = <state_name>
    meta_start_state = Excluded
    group_start_state = Excluded

    # TRANSMISSION PROPERTIES
    transmission_mode = none | proximity |  network | environmental
    transmissibility = 0
    exposed_state = none
    transmission_network_name = none

    # OUTPUT PROPERTIES
    output = 1
}

Description

Declares a condition block. A "condition block" defines a condition to track within the population. Conditions may represent diseases, behaviors, beliefs, or any other aspect of the population of interest to the modeler. A FRED program may include any number of conditions. The set of properties for conditions is shown in the synopsis. Each property has a default value as shown.

It is an error for two separate conditions to have the same name.

Examples

A condition named TEST can be initialized with:

condition TEST {
    ...
}

See Also