|
Aleph-w 7.10.0
A C++ Library for Data Structures and Algorithms
|
Scratch space of offer_simple_components(), allocated once.
More...
#include <Negative_Cycles.H>
Public Member Functions | |
| Decomposition_Scratch (const size_t max_nodes, const size_t max_walk) | |
Public Attributes | |
| Array< size_t > | st_nodes |
| Node stack. | |
| Array< size_t > | st_in_arc |
Arc entering each stacked node, aligned with st_nodes. | |
| Array< size_t > | component |
| Arcs of the simple cycle being offered. | |
Scratch space of offer_simple_components(), allocated once.
The stacks are used through a logical depth rather than with Array::remove_last(), which can contract (and so reallocate) the array when it empties out.
Definition at line 1502 of file Negative_Cycles.H.
|
inline |
| [in] | max_nodes | Upper bound of the distinct nodes on the stack (the node count of the graph searched). |
| [in] | max_walk | Upper bound of the arcs of a walk. |
Definition at line 1512 of file Negative_Cycles.H.
| Array<size_t> Aleph::negative_cycles_detail::Decomposition_Scratch::component |
Arcs of the simple cycle being offered.
Definition at line 1506 of file Negative_Cycles.H.
Referenced by Aleph::negative_cycles_detail::offer_simple_components().
| Array<size_t> Aleph::negative_cycles_detail::Decomposition_Scratch::st_in_arc |
Arc entering each stacked node, aligned with st_nodes.
Definition at line 1505 of file Negative_Cycles.H.
Referenced by Aleph::negative_cycles_detail::offer_simple_components().
| Array<size_t> Aleph::negative_cycles_detail::Decomposition_Scratch::st_nodes |
Node stack.
Definition at line 1504 of file Negative_Cycles.H.
Referenced by Aleph::negative_cycles_detail::offer_simple_components().