#include <Graph.h>
Classes | |
class | const_iterator |
struct | value_type |
Public Types | |
using | adj_iterator = adj_list::iterator |
using | adj_list = std::vector< edge_list > |
using | const_adj_iterator = adj_list::const_iterator |
using | const_edge_iterator = edge_list::const_iterator |
using | const_edge_range = std::pair< const_edge_iterator, const_edge_iterator > |
using | const_indexer_iterator = typename indexer_type::const_iterator |
using | edge_iterator = edge_list::iterator |
using | edge_list = std::vector< edge_type > |
using | edge_range = std::pair< edge_iterator, edge_iterator > |
using | edge_store = std::vector< E > |
using | edge_type = std::pair< index_type, index_type > |
using | index_result = std::pair< index_type, bool > |
using | index_type = std::vector< double >::size_type |
using | indexer_iterator = typename indexer_type::iterator |
using | indexer_type = std::map< N, index_type > |
using | node_list = std::vector< N > |
Public Member Functions | |
void | addEdge (const N &from, const N &to, const E &edge) |
index_type | addNode (const N &) |
adj_iterator | begin () |
const_adj_iterator | begin () const |
const_iterator | begin_iter () const |
void | clear () |
it clear everything! More... | |
size_t | edge_size () const |
const E & | edgeData (index_type i) const |
edge_range | edges (const N &) |
const_edge_range | edges (const N &) const |
edge_range | edges (index_type nodeIndex) |
const_edge_range | edges (index_type nodeIndex) const |
adj_iterator | end () |
const_adj_iterator | end () const |
const_iterator | end_iter () const |
void | findRoots (edge_list &) const |
Graph () | |
void | invert (Graph &g) const |
const N & | nodeData (const const_adj_iterator &) const |
const N & | nodeData (const edge_type &) const |
const N & | nodeData (index_type) const |
index_result | nodeIndex (const N &) const |
bool | replace (const N &oldNode, const N &newNode) |
bool | replaceEdge (const E &ldEdge, const E &newEdge) |
auto | size () const -> adj_list::size_type |
void | swap (Graph< N, E > &) |
~Graph () | |
Private Attributes | |
adj_list | adjl_ |
edge_store | edges_ |
edge_list | emptyEdges_ |
indexer_type | indexer_ |
node_list | nodes_ |
using math::Graph< N, E >::adj_iterator = adj_list::iterator |
using math::Graph< N, E >::adj_list = std::vector<edge_list> |
using math::Graph< N, E >::const_adj_iterator = adj_list::const_iterator |
using math::Graph< N, E >::const_edge_iterator = edge_list::const_iterator |
using math::Graph< N, E >::const_edge_range = std::pair<const_edge_iterator, const_edge_iterator> |
using math::Graph< N, E >::const_indexer_iterator = typename indexer_type::const_iterator |
using math::Graph< N, E >::edge_iterator = edge_list::iterator |
using math::Graph< N, E >::edge_list = std::vector<edge_type> |
using math::Graph< N, E >::edge_range = std::pair<edge_iterator, edge_iterator> |
using math::Graph< N, E >::edge_store = std::vector<E> |
using math::Graph< N, E >::edge_type = std::pair<index_type, index_type> |
using math::Graph< N, E >::index_result = std::pair<index_type, bool> |
using math::Graph< N, E >::index_type = std::vector<double>::size_type |
using math::Graph< N, E >::indexer_iterator = typename indexer_type::iterator |
using math::Graph< N, E >::indexer_type = std::map<N, index_type> |
using math::Graph< N, E >::node_list = std::vector<N> |
|
inline |
|
inline |
void math::Graph< N, E >::addEdge | ( | const N & | from, |
const N & | to, | ||
const E & | edge | ||
) |
Graph< N, E >::index_type math::Graph< N, E >::addNode | ( | const N & | node | ) |
|
inline |
Definition at line 172 of file Graph.h.
Referenced by TinyDomTest::allNodes(), TinyDomTest2::allNodes(), and GeometryInfoDump::dumpInfo().
|
inline |
|
inline |
void math::Graph< N, E >::clear | ( | void | ) |
|
inline |
|
inline |
Definition at line 158 of file Graph.h.
Referenced by TinyDomTest::allNodes(), math::Graph< N, E >::const_iterator::value_type::edge(), and DDCompactViewImpl::~DDCompactViewImpl().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 174 of file Graph.h.
Referenced by TinyDomTest::allNodes(), TinyDomTest2::allNodes(), Types.LuminosityBlockRange::cppID(), and Types.EventRange::cppID().
|
inline |
Definition at line 175 of file Graph.h.
Referenced by Types.LuminosityBlockRange::cppID(), and Types.EventRange::cppID().
|
inline |
void math::Graph< N, E >::findRoots | ( | edge_list & | result | ) | const |
void math::Graph< N, E >::invert | ( | Graph< N, E > & | g | ) | const |
|
inline |
|
inline |
Definition at line 272 of file Graph.h.
Referenced by TinyDomTest::allNodes(), TinyDomTest2::allNodes(), math::Graph< N, E >::const_iterator::value_type::from(), and math::Graph< N, E >::const_iterator::value_type::to().
|
inline |
|
inline |
bool math::Graph< N, E >::replace | ( | const N & | oldNode, |
const N & | newNode | ||
) |
bool math::Graph< N, E >::replaceEdge | ( | const E & | ldEdge, |
const E & | newEdge | ||
) |
|
inline |
Definition at line 176 of file Graph.h.
Referenced by ntupleDataFormat._Collection::__iter__(), ntupleDataFormat._Collection::__len__(), TinyDomTest2::allNodes(), and DDCompactViewImpl::~DDCompactViewImpl().
void math::Graph< N, E >::swap | ( | Graph< N, E > & | g | ) |
|
private |
Definition at line 189 of file Graph.h.
Referenced by math::Graph< Node2, AnotherDummy2 >::begin(), math::Graph< N, E >::const_iterator::value_type::edge(), math::Graph< Node2, AnotherDummy2 >::end(), math::Graph< Node2, AnotherDummy2 >::end_iter(), math::Graph< Node2, AnotherDummy2 >::size(), and math::Graph< N, E >::const_iterator::value_type::to().
|
private |
Definition at line 195 of file Graph.h.
Referenced by math::Graph< Node2, AnotherDummy2 >::edge_size(), and math::Graph< Node2, AnotherDummy2 >::edgeData().
|
private |
|
private |
|
private |