|
Fishnet 2.0.1
Framework for Graph-Based Analysis of GIS Vector Data
|
Implementation of an Adjacency Map. Implements AdjacencyContainer. More...
#include <AdjacencyMap.hpp>
Public Types | |
| using | node_type = N |
| using | equality_predicate = Equal |
| using | hash_function = Hash |
Public Member Functions | |
| void | addAdjacency (N from, N to) |
| void | addAdjacencies (util::forward_range_of< std::pair< N, N > > auto &&pairs) |
| bool | addNode (const N &node) |
| bool | addNode (N &&node) |
| bool | addNodes (util::forward_range_of< N > auto &&nodes) |
| void | removeNode (const N &node) |
| void | removeNodes (util::forward_range_of< N > auto &&nodes) |
| void | removeAdjacency (const N &from, const N &to) |
| void | removeAdjacencies (util::forward_range_of< std::pair< N, N > > auto &&adjacencies) |
| bool | contains (const N &node) const noexcept |
| bool | hasAdjacency (const N &from, const N &to) const noexcept |
| auto | adjacency (const N &node) const noexcept |
| auto | nodes () const noexcept |
| auto | getAdjacencyPairs () const noexcept |
| void | clear () noexcept |
Implementation of an Adjacency Map. Implements AdjacencyContainer.
| N | node type |
| Hash | hasher type on N |
| Equal | comparator type on N |
| NodeRange | range type for adjacency list |
| using fishnet::graph::AdjacencyMap< N, Hash, Equal, NodeRange >::equality_predicate = Equal |
| using fishnet::graph::AdjacencyMap< N, Hash, Equal, NodeRange >::hash_function = Hash |
| using fishnet::graph::AdjacencyMap< N, Hash, Equal, NodeRange >::node_type = N |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inline |
|
inline |
|
inline |
|
inline |