#include <IndexedGraph.h>
Public Types | |
typedef VertexType | vertex_t |
typedef boost::adjacency_list< boost::setS, boost::vecS, boost::undirectedS, vertex_t > | graph_t |
typedef boost::graph_traits< graph_t >::vertex_descriptor | vdesc_t |
typedef boost::graph_traits< graph_t >::edge_descriptor | edesc_t |
typedef std::unordered_map< int, std::vector< vertex_t > > | vertex_grouping_t |
Return connected component subgraphs. More... | |
typedef std::unordered_map< vertex_t, vdesc_t > | index_t |
Public Member Functions | |
IndexedGraph () | |
IndexedGraph (const graph_t &g) | |
std::vector< vertex_t > | neighbors (vertex_t obj) const |
bool | has (vertex_t vobj) const |
edesc_t | edge (vertex_t vobj1, vertex_t vobj2) |
vdesc_t | vertex (vertex_t vobj) |
vdesc_t | replace (vertex_t vold, vertex_t vnew) |
void | clear () |
vertex_grouping_t | groups () |
const graph_t & | graph () const |
graph_t & | graph () |
index_t & | index () |
const index_t & | index () const |
Private Attributes | |
graph_t | m_graph |
index_t | m_index |
Definition at line 31 of file IndexedGraph.h.
typedef boost::graph_traits<graph_t>::edge_descriptor WireCell::IndexedGraph< VertexType >::edesc_t |
Definition at line 46 of file IndexedGraph.h.
typedef boost::adjacency_list<boost::setS, boost::vecS, boost::undirectedS, vertex_t> WireCell::IndexedGraph< VertexType >::graph_t |
Definition at line 44 of file IndexedGraph.h.
typedef std::unordered_map<vertex_t, vdesc_t> WireCell::IndexedGraph< VertexType >::index_t |
Definition at line 149 of file IndexedGraph.h.
typedef boost::graph_traits<graph_t>::vertex_descriptor WireCell::IndexedGraph< VertexType >::vdesc_t |
Definition at line 45 of file IndexedGraph.h.
typedef std::unordered_map<int, std::vector<vertex_t> > WireCell::IndexedGraph< VertexType >::vertex_grouping_t |
Return connected component subgraphs.
Definition at line 128 of file IndexedGraph.h.
typedef VertexType WireCell::IndexedGraph< VertexType >::vertex_t |
Definition at line 33 of file IndexedGraph.h.
|
inline |
Definition at line 48 of file IndexedGraph.h.
|
inline |
Definition at line 50 of file IndexedGraph.h.
|
inline |
Definition at line 121 of file IndexedGraph.h.
|
inline |
Definition at line 93 of file IndexedGraph.h.
|
inline |
Definition at line 141 of file IndexedGraph.h.
|
inline |
Definition at line 145 of file IndexedGraph.h.
|
inline |
Definition at line 129 of file IndexedGraph.h.
|
inline |
Definition at line 84 of file IndexedGraph.h.
|
inline |
Definition at line 150 of file IndexedGraph.h.
|
inline |
Definition at line 151 of file IndexedGraph.h.
|
inline |
Definition at line 69 of file IndexedGraph.h.
|
inline |
Definition at line 113 of file IndexedGraph.h.
|
inline |
Definition at line 101 of file IndexedGraph.h.
|
private |
Definition at line 154 of file IndexedGraph.h.
|
private |
Definition at line 155 of file IndexedGraph.h.