![]() |
LINE Solver (C++)
Templated C++ port of the LINE queueing solver
|
Port of solver_ssa_reachability.m's return: [SSq, SSh, sn.space]. More...
#include <line/solvers/ssa/solver_ssa_serial.h>
Public Attributes | |
| std::vector< qn::NetState< T > > | space |
| the reachable states | |
| std::vector< std::vector< std::vector< T > > > | node_space |
| sn.space, per stateful node | |
| std::vector< std::vector< std::size_t > > | hash |
| SSh, 1-based per node | |
| Matrix< T > | ssq |
| SSq, states x concatenated width | |
Port of solver_ssa_reachability.m's return: [SSq, SSh, sn.space].
node_space[i] is the reference's space{i}, the distinct local rows node i was seen in; hash is SSh, one 1-BASED index into node_space[i] per stateful node per state; ssq is SSq, the same states with their local rows concatenated. The three are redundant by construction and the reference returns all three because its callers index states by node (SSh) and read them flat (SSq).
THE ORDER IS THE WALK'S, NOT THE REFERENCE'S. The reference pushes and pops a stack of its own; this reuses reachable_space_generator, whose stack order differs. The SET is the same and nothing downstream indexes it positionally across codebases, so the difference is not observable in a metric.
Definition at line 124 of file solver_ssa_serial.h.
| std::vector<std::vector<std::size_t> > line::ssa::SsaReachability< T >::hash |
SSh, 1-based per node
Definition at line 127 of file solver_ssa_serial.h.
Referenced by line::ssa::solver_ssa_reachability().
| std::vector<std::vector<std::vector<T> > > line::ssa::SsaReachability< T >::node_space |
sn.space, per stateful node
Definition at line 126 of file solver_ssa_serial.h.
Referenced by line::ssa::solver_ssa_reachability().
| std::vector<qn::NetState<T> > line::ssa::SsaReachability< T >::space |
the reachable states
Definition at line 125 of file solver_ssa_serial.h.
Referenced by line::ssa::solver_ssa_reachability().
| Matrix<T> line::ssa::SsaReachability< T >::ssq |
SSq, states x concatenated width
Definition at line 128 of file solver_ssa_serial.h.
Referenced by line::ssa::solver_ssa_reachability().