template<class GR>
class lemon::AllArcLookUp< GR >
This class is the same as ArcLookUp, with the addition that it makes it possible to find all parallel arcs between given endpoints.
- Warning
- This class is static, so you should call refresh() (or at least refresh(Node)) to refresh this data structure whenever the digraph changes. This is a time consuming (superlinearly proportional (O(m logm)) to the number of arcs).
- Template Parameters
-
| GR | The type of the underlying digraph. |
- See also
- DynArcLookUp
-
ArcLookUp
|
| | AllArcLookUp (const Digraph &g) |
| | Constructor.
|
| void | refresh (Node n) |
| | Refresh the data structure at a node.
|
| void | refresh () |
| | Refresh the full data structure.
|
| Arc | operator() (Node s, Node t, Arc prev=INVALID) const |
| | Find an arc between two nodes.
|
| | ArcLookUp (const Digraph &g) |
| | Constructor.
|
| void | refresh (Node n) |
| | Refresh the search data structure at a node.
|
| void | refresh () |
| | Refresh the full data structure.
|
| Arc | operator() (Node s, Node t) const |
| | Find an arc between two nodes.
|