![]() |
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 123 of file environment.h.
| lang::Distrib<T> line::env::NodeFailure< T >::breakdown |
time to failure, the UP -> DOWN transition
Definition at line 125 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 129 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 126 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 128 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 124 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 127 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 130 of file environment.h.
Referenced by line::env::Environment< T >::register_node_failure().