In order to extract statistical data from a simulation by a LoggingExecutor or some derived class, so called simulation conditions are defined. At any instance of time, a condition is satisfied or dissatisfied. Statistical data can then be requested regarding the period and duration of each condition. Currently, two types of conditions are available:
A Condition may be flagged as a break condition to halt simulation when satisfied. A condition may be enabled for tracking or not.
The class SimConditionAttribute summarizes all data to represent faudes simulation conditions. It also holds some state of the condition wrt execution and provides an interface for sampling. The latter may be seperated to a different class in a future revision. The class SimConditionAttribute does, however, not implement any test whether or not a condition is satisfied. This is done by the LoggingExecutor.
As a faudes attribute, conditions can be referenced by names the via std faudes container TaNameSet. Token io should be done in the context of a particular ParallelExecutor using ParallelExecutor methods.
Classes | |
class | faudes::SimEventConditionAttribute |
Defining data of event based simulation condition. More... | |
class | faudes::SimStateConditionAttribute |
Defining data of state based simulation condition. More... | |
class | faudes::SimConditionAttribute |
Attribute for a simulation condition. More... | |
class | faudes::SimConditionSet |
Set of simulation named conditions. More... |