![]() |
LINE Solver (C++)
Templated C++ port of the LINE queueing solver
|
Environment.nodeFailures{k}: the declarative record of one node breakdown. More...
#include <line/lang/qn/environment.h>
Public Attributes | |
| std::string | node |
| the node that breaks down | |
| lang::Distrib< T > | breakdown |
| time to failure, the UP -> DOWN transition | |
| lang::Distrib< T > | down_service |
| the node's service while it is down | |
| lang::Distrib< T > | repair |
| time to repair, the DOWN -> UP transition | |
| bool | has_repair = false |
| false for a breakdown with no repair arc | |
| std::string | breakdown_reset = "keep" |
| std::string | repair_reset |
| empty when there is no repair | |
Environment.nodeFailures{k}: the declarative record of one node breakdown.
The expanded stages and transitions already carry the STRUCTURE of a breakdown; what only this record carries is the pair of reset policies, which decide what the next stage starts from and therefore change the numbers. It is kept on the environment for the same reason the reference keeps it: so an environment read from model.json in its expanded form can be given back its policies, and so it serializes out again as the same model.
Definition at line 137 of file environment.h.
| lang::Distrib<T> line::env::NodeFailure< T >::breakdown |
time to failure, the UP -> DOWN transition
Definition at line 139 of file environment.h.
Referenced by line::env::Environment< T >::add_node_breakdown(), and line::env::Environment< T >::register_node_failure().
| std::string line::env::NodeFailure< T >::breakdown_reset = "keep" |
Definition at line 143 of file environment.h.
Referenced by line::env::Environment< T >::add_node_breakdown(), and line::env::Environment< T >::register_node_failure().
| lang::Distrib<T> line::env::NodeFailure< T >::down_service |
the node's service while it is down
Definition at line 140 of file environment.h.
Referenced by line::env::Environment< T >::add_node_breakdown(), and line::env::Environment< T >::register_node_failure().
| bool line::env::NodeFailure< T >::has_repair = false |
false for a breakdown with no repair arc
Definition at line 142 of file environment.h.
Referenced by line::env::Environment< T >::register_node_failure().
| std::string line::env::NodeFailure< T >::node |
the node that breaks down
Definition at line 138 of file environment.h.
Referenced by line::env::Environment< T >::add_node_breakdown(), and line::env::Environment< T >::register_node_failure().
| lang::Distrib<T> line::env::NodeFailure< T >::repair |
time to repair, the DOWN -> UP transition
Definition at line 141 of file environment.h.
Referenced by line::env::Environment< T >::register_node_failure().
| std::string line::env::NodeFailure< T >::repair_reset |
empty when there is no repair
Definition at line 144 of file environment.h.
Referenced by line::env::Environment< T >::register_node_failure().