|
Fishnet 2.0.1
Framework for Graph-Based Analysis of GIS Vector Data
|
Abstract Graph Decorator using CRTP. More...
#include <GraphDecorator.hpp>


Public Types | |
| using | edge_type = E |
| using | adj_container_type = G::adj_container_type |
| using | node_type = N |
Public Member Functions | |
| bool | addNode (N &node) |
| bool | addNode (N &&node) |
| template<typename... Args> | |
| bool | addNode (const N &node, Args... args) |
| template<typename... Args> | |
| bool | addNode (N &&node, Args... args) |
| bool | addNodes (util::forward_range_of< N > auto &nodes) |
| bool | addNodes (util::forward_range_of< N > auto &&nodes) |
| bool | containsNode (const N &node) const noexcept |
| void | removeNode (const N &node) |
| bool | addEdge (const N &from, const N &to) |
| bool | addEdge (N &&from, N &&to) |
| bool | addEdge (const E &edge) |
| void | addEdges (util::forward_range_of< std::pair< N, N > > auto &&edges) |
| void | addEdges (util::forward_range_of< E > auto &&edges) |
| bool | containsEdge (const N &from, const N &to) const noexcept |
| bool | containsEdge (const E &edge) const noexcept |
| void | removeEdge (const N &from, const N &to) |
| void | removeEdge (const E &edge) |
| E | makeEdge (const N &from, const N &to) const |
| auto | getNodes () const noexcept |
| auto | getEdges () const |
| auto | getNeighbours (const N &node) const noexcept |
| auto | getReachableFrom (const N &node) const noexcept |
| auto | getOutboundEdges (const N &node) const |
| auto | getInboundEdges (const N &node) const |
| const auto & | getAdjacencyContainer () const |
| void | clear () |
| virtual | ~GraphDecorator ()=default |
Protected Types | |
| using | N = G::node_type |
Protected Member Functions | |
| GraphDecorator ()=default | |
| GraphDecorator (G &&source) | |
| GraphDecorator (typename G::adj_container_type &&adjContainer) | |
| GraphDecorator (util::forward_range_of< N > auto &&nodes) | |
Protected Attributes | |
| G | g |
Abstract Graph Decorator using CRTP.
| DecoratorImpl | graph decorator implementation type |
| G | graph type |
| G::edge_type | edge type of graph |
| using fishnet::graph::GraphDecorator< DecoratorImpl, G, E >::adj_container_type = G::adj_container_type |
| using fishnet::graph::GraphDecorator< DecoratorImpl, G, E >::edge_type = E |
|
protected |
| using fishnet::graph::GraphDecorator< DecoratorImpl, G, E >::node_type = N |
|
protecteddefault |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
virtualdefault |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inline |
|
inline |
|
inline |
|
inlinenoexcept |
|
inlinenoexcept |
|
inline |
|
inlinenoexcept |
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |