|
ADS
Algorithms and Data Structures
|
a deque as \( S \), the rule of Pape and D'Esopo: a node at the tail the first time, at the head afterwards, extracted from the head More...
#include <ADS/graph/ShortestPaths.h>
Public member functions | |
| DequeFrontier (Q &q) | |
| \( S \) on the empty structure \( q \) | |
| template<class D> | |
| void | add (int v, const D &, bool first) |
| \( v \) at the tail of \( S \) if first, at its head if not | |
| 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 deque as \( S \), the rule of Pape and D'Esopo: a node at the tail the first time, at the head afterwards, extracted from the head
|
inlineexplicit |
\( S \) on the empty structure \( q \)
|
inline |
\( v \) at the tail of \( S \) if first, at its head if not
|
inlinenodiscard |
whether \( S \) is empty
|
inline |
a node out of \( S \)
nothing: the order of \( S \) does not depend on the distances