BGL edge reference wrapper. More...
Public Member Functions | |
bgl_edge_reference (BaseReference _ref, BGLGraph *_graph) | |
Initializes an edge. More... | |
edge_descriptor | descriptor () const |
Returns the edge descriptor of this edge. | |
vertex_descriptor | source (void) const |
Returns the source vertex of this edge. | |
vertex_descriptor | target (void) const |
Returns the target vertex of this edge. | |
size_t | id () const |
Returns the ID of this edge. | |
edge_property & | property () |
Returns a reference to the edge property. | |
Public Types | |
typedef boost::property_map< BGLGraph, boost::vertex_name_t >::type::value_type | vertex_descriptor |
typedef bgl_edge_descriptor_adaptor< BGLGraph > | edge_descriptor |
typedef boost::property_map< BGLGraph, boost::edge_weight_t >::type::value_type | edge_property |
BGL edge reference wrapper.
BaseReference | Type of the BGL edge. |
BGLGraph | Type of the boost graph. |
stapl::sequential::bgl_edge_reference< BaseReference, BGLGraph >::bgl_edge_reference | ( | BaseReference | _ref, |
BGLGraph * | _graph | ||
) |
Initializes an edge.
_ref | The BGL edge to be wrapped. |
_graph | The graph which contains the edge. |