#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 (index_type nodeIndex) |
const_edge_range | edges (index_type nodeIndex) const |
edge_range | edges (const N &) |
const_edge_range | edges (const N &) 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 edge_type &) const |
const N & | nodeData (index_type) const |
const N & | nodeData (const const_adj_iterator &) 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 | ||
) |
Definition at line 231 of file Graph.h.
Referenced by graph_combine(), math::Graph< N, E >::invert(), and DDCompactViewImpl::position().
Graph< N, E >::index_type math::Graph< N, E >::addNode | ( | const N & | node | ) |
Definition at line 205 of file Graph.h.
References mps_fire::result.
|
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 | ) |
it clear everything!
Definition at line 338 of file Graph.h.
Referenced by BeautifulSoup.Tag::setString().
|
inline |
|
inline |
Definition at line 158 of file Graph.h.
Referenced by TinyDomTest::allNodes(), DDCheckPD(), math::Graph< N, E >::const_iterator::value_type::edge(), and DDCompactViewImpl::~DDCompactViewImpl().
|
inline |
Definition at line 240 of file Graph.h.
Referenced by DDCheckAll(), and DDCompactViewImpl::~DDCompactViewImpl().
|
inline |
Definition at line 246 of file Graph.h.
|
inline |
|
inline |
Definition at line 262 of file Graph.h.
References mps_fire::result.
|
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 |
Definition at line 287 of file Graph.h.
References SplitLinear::begin, dataset::end, and findQualityFiles::size.
void math::Graph< N, E >::invert | ( | Graph< N, E > & | g | ) | const |
Definition at line 346 of file Graph.h.
References math::Graph< N, E >::addEdge(), and alignCSCRings::e.
|
inline |
Definition at line 272 of file Graph.h.
Referenced by TinyDomTest::allNodes(), TinyDomTest2::allNodes(), DDCheckAll(), DDCheckConnect(), math::Graph< N, E >::const_iterator::value_type::from(), graph_combine(), and math::Graph< N, E >::const_iterator::value_type::to().
|
inline |
|
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(), DDCheckAll(), DDCheckConnect(), and DDCompactViewImpl::~DDCompactViewImpl().
void math::Graph< N, E >::swap | ( | Graph< N, E > & | g | ) |
Definition at line 363 of file Graph.h.
References math::Graph< N, E >::adjl_, math::Graph< N, E >::edges_, math::Graph< N, E >::emptyEdges_, math::Graph< N, E >::indexer_, and math::Graph< N, E >::nodes_.
Referenced by DDCompactViewImpl::swap().
|
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(), math::Graph< N, E >::swap(), 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(), math::Graph< Node2, AnotherDummy2 >::edgeData(), and math::Graph< N, E >::swap().
|
private |
Definition at line 201 of file Graph.h.
Referenced by math::Graph< N, E >::swap().
|
private |
Definition at line 198 of file Graph.h.
Referenced by math::Graph< N, E >::swap().
|
private |
Definition at line 192 of file Graph.h.
Referenced by math::Graph< N, E >::swap().