![]() |
LINE Solver (C++)
Templated C++ port of the LINE queueing solver
|
The memoization key: the argument list of after_event, in fields. More...
#include <line/solvers/ssa/ssa_event_cache.h>
Public Member Functions | |
| bool | operator< (const SsaEventKey &o) const |
Public Attributes | |
| std::size_t | ind = 0 |
| 1-based node index | |
| int | event = 0 |
| EventType, as its underlying value | |
| std::size_t | cls = 0 |
| 1-based class index | |
| bool | no_promote = false |
| double | aux_rate = 0.0 |
| std::vector< double > | inspace |
| the node's local state row | |
The memoization key: the argument list of after_event, in fields.
The pieces are kept SEPARATE rather than flattened into one vector because a flatten lets a wide state row of one node impersonate a narrow row of another with a different index prefix; separate fields cannot collide by construction, so no separator sentinel is needed.
Definition at line 74 of file ssa_event_cache.h.
|
inline |
Definition at line 82 of file ssa_event_cache.h.
References aux_rate, cls, event, ind, inspace, and no_promote.
| double line::ssa::SsaEventKey::aux_rate = 0.0 |
Definition at line 79 of file ssa_event_cache.h.
Referenced by line::ssa::SsaEventCache< T >::after_event(), and operator<().
| std::size_t line::ssa::SsaEventKey::cls = 0 |
1-based class index
Definition at line 77 of file ssa_event_cache.h.
Referenced by line::ssa::SsaEventCache< T >::after_event(), and operator<().
| int line::ssa::SsaEventKey::event = 0 |
EventType, as its underlying value
Definition at line 76 of file ssa_event_cache.h.
Referenced by line::ssa::SsaEventCache< T >::after_event(), and operator<().
| std::size_t line::ssa::SsaEventKey::ind = 0 |
1-based node index
Definition at line 75 of file ssa_event_cache.h.
Referenced by line::ssa::SsaEventCache< T >::after_event(), and operator<().
| std::vector<double> line::ssa::SsaEventKey::inspace |
the node's local state row
Definition at line 80 of file ssa_event_cache.h.
Referenced by line::ssa::SsaEventCache< T >::after_event(), and operator<().
| bool line::ssa::SsaEventKey::no_promote = false |
Definition at line 78 of file ssa_event_cache.h.
Referenced by line::ssa::SsaEventCache< T >::after_event(), and operator<().