a queue as \( S \), enqueue() and dequeue(): first in, first out, so that a node leaves S at most n times unless a negative cycle is reachable
More...
#include <ADS/graph/ShortestPaths.h>
|
| | QueueFrontier (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
|
|
| static constexpr bool | fifo = true |
| | the bound of the extractions
|
template<class Q>
class ADS::QueueFrontier< Q >
a queue as \( S \), enqueue() and dequeue(): first in, first out, so that a node leaves S at most n times unless a negative cycle is reachable
◆ QueueFrontier()
\( S \) on the empty structure \( q \)
◆ add()
template<class Q>
template<class D>
◆ empty()
◆ extract()
◆ update()
template<class Q>
template<class D>
nothing: the order of \( S \) does not depend on the distances
◆ fifo
the bound of the extractions
The documentation for this class was generated from the following file: