|
|
| dynamic_graph_view (VGraph &g) |
| |
| vertex_descriptor | add_vertex (void) |
| | Add a vertex with the default property. The descriptor of this is generated automatically. More...
|
| |
| vertex_descriptor | add_vertex (vertex_property &vp) |
| | Add a vertex with the specified property. The descriptor of this is generated automatically. More...
|
| |
| vertex_descriptor | add_vertex (vertex_descriptor vd, vertex_property &vp) |
| | Add a vertex with the specified descriptor and property. More...
|
| |
| bool | add_edge (edge_descriptor &ed) |
| | Adds an edge with given descriptor and default edge property. More...
|
| |
|
void | erase (void) |
| | Clear this graph, deleting all its vertices and edges.
|
| |
| bool | delete_vertex (vertex_descriptor const &vd) |
| | Delete the specified vertex. More...
|
| |
| bool | delete_edge (edge_descriptor const &ed) |
| | Delete the specified edge. More...
|
| |
|
edge_iterator | edges_begin () |
| | Returns an iterator over all the edges of the graph.
|
| |
|
const_edge_iterator | edges_begin () const |
| | Returns an iterator over all the edges of the graph.
|
| |
|
edge_iterator | edges_end () |
| | Returns an iterator over all the edges of the graph.
|
| |
|
const_edge_iterator | edges_end () const |
| | Returns an iterator over all the edges of the graph.
|
| |
|
size_t | get_max_descriptor () const |
| | Returns the maximum descriptor for the vertex.
|
| |
|
size_t | get_num_vertices () const |
| | Returns the number of vertices in this graph.
|
| |
|
size_t | get_num_edges () const |
| | Returns the number of edges in this graph.
|
| |
| vertex_iterator | find_vertex (vertex_descriptor const &vd) |
| | Finds the vertex with the specified descriptor, and returns a vertex_iterator pointing to it. If not found, the end of the graph is returned. More...
|
| |
| const_vertex_iterator | find_vertex (vertex_descriptor const &vd) const |
| | Finds the vertex with the specified descriptor, and returns a vertex_iterator pointing to it. If not found, the end of the graph is returned. More...
|
| |
| bool | find_edge (edge_descriptor const &ed, vertex_iterator &vi, adj_edge_iterator &ei) |
| | Finds the edge with the specified descriptor, and returns an iterator to its source vertex and an adj_edge_iterator pointing to the edge. More...
|
| |
| bool | find_edge (const edge_descriptor &ed, const_vertex_iterator &vi, const_adj_edge_iterator &ei) const |
| | Finds the edge with the specified descriptor, and returns an iterator to its source vertex and an adj_edge_iterator pointing to the edge. More...
|
| |
|
vertex_iterator | begin () |
| |
|
const_vertex_iterator | begin () const |
| |
|
vertex_iterator | end () |
| |
|
const_vertex_iterator | end () const |
| |
|
|
typedef base_type::vertex_descriptor | vertex_descriptor |
| |
|
typedef base_type::edge_descriptor | edge_descriptor |
| |
|
typedef base_type::vertex_iterator | vertex_iterator |
| |
|
typedef base_type::const_vertex_iterator | const_vertex_iterator |
| |
|
typedef base_type::adj_edge_iterator | adj_edge_iterator |
| |
|
typedef base_type::const_adj_edge_iterator | const_adj_edge_iterator |
| |
|
typedef base_type::edge_iterator | edge_iterator |
| |
|
typedef base_type::const_edge_iterator | const_edge_iterator |
| |
|
typedef vertex_iterator::property_type | vertex_property |
| |
|
typedef adj_edge_iterator::property_type | edge_property |
| |
|
typedef base_type::vertex_reference | vertex_reference |
| |
|
typedef const_vertex_iterator::value_type | const_vertex_reference |
| |
template<class VGraph, class VAdaptor = use_default, class EAdaptor = use_default>
class stapl::dynamic_graph_view< VGraph, VAdaptor, EAdaptor >
A dynamic graph view using adaptors for vertex and edge properties.
- Template Parameters
-
| VGraph | The type of the input graph. |
| VAdaptor | The type of the vertex property adaptor. |
| EAdaptor | The type of the edge property adaptor. |