Public Types | |
using | NodeType = N |
using | SubgraphType = SubgraphT<N> |
Public Member Functions | |
GraphT (const GraphT< N > &)=delete | |
GraphT & | operator= (const GraphT< N > &)=delete |
GraphT () | |
GraphT (GraphT< N > &&other) | |
GraphT< N > & | operator= (GraphT &&other) noexcept |
template<class T > | |
N & | addNode (T &&f) |
size_t | numNodes () const |
const N & | node (size_t index) const |
N & | node (size_t index) |
SubgraphT< N > & | addSubgraph () |
size_t | numSubgraphs () const |
const SubgraphT< N > & | subgraph (size_t index) const |
SubgraphT< N > & | subgraph (size_t index) |
template<class F > | |
void | forEachSubgraph (F &&func) const |
template<class F > | |
void | forEachSubgraph (F &&func) |
template<class F > | |
void | forEachNode (F &&func) const |
template<class F > | |
void | forEachNode (F &&func) |
void | clear () |
void | clearSubgraphs () |
Friends | |
template<class T > | |
class | SubgraphT |
using dispenso::GraphT< N >::NodeType = N |
using dispenso::GraphT< N >::SubgraphType = SubgraphT<N> |
|
inline |
dispenso::GraphT< N >::GraphT | ( | GraphT< N > && | other | ) |
SubgraphT< N > & dispenso::GraphT< N >::addSubgraph | ( | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
noexcept |
|
inline |
|
inline |