|
ADS
Algorithms and Data Structures
|
a stack as \( S \), push() and pop() More...
#include <ADS/graph/ShortestPaths.h>
Public member functions | |
| StackFrontier (Q &q) | |
| \( S \) on the empty structure \( q \) | |
| template<class D> | |
| void | add (int v, const D &, bool) |
| \( v \) into \( S \) | |
| int | extract (void) |
| a node out of \( S \) | |
| template<class D> | |
| void | update (int, const D &) |
| nothing: the order of \( S \) does not depend on the distances | |
| bool | empty (void) const |
| whether \( S \) is empty | |
a stack as \( S \), push() and pop()
|
inlineexplicit |
\( S \) on the empty structure \( q \)
|
inline |
\( v \) into \( S \)
|
inlinenodiscard |
whether \( S \) is empty
|
inline |
a node out of \( S \)
nothing: the order of \( S \) does not depend on the distances