The Graph Edge without edge property storage. More...
Public Member Functions | |
graph_edge (edge_descriptor_type const &ed) | |
graph_edge (edge_descriptor_type const &ed, property_type const &) | |
Creates an edge for the graph with the given descriptor and property. More... | |
edge_descriptor_type | descriptor (void) const noexcept |
edge_id_type | id (void) const noexcept |
vertex_descriptor | source (void) const noexcept |
vertex_descriptor | target (void) const noexcept |
property_type | property (void) const noexcept |
Public Types | |
typedef VertexDescriptor | vertex_descriptor |
typedef edge_descriptor_impl< vertex_descriptor > | edge_descriptor_type |
typedef edge_descriptor_type::edge_id_type | edge_id_type |
Protected Attributes | |
edge_descriptor_type | m_ed |
The edge descriptor for this edge. | |
Properties | |
__pad0__:no_property property_type | |
Friends | |
graph_edge | reverse (graph_edge const &other) |
Reverses the edge descriptor of an edge. More... | |
The Graph Edge without edge property storage.
If the graph uses no_property for the edge property type, then the graph edge contains just the edge_descriptor_impl. If the graph is with properties then the edge contains an edge_descriptor and the property.
stapl::sequential::graph_edge< VertexDescriptor >::graph_edge | ( | edge_descriptor_type const & | ed, |
property_type const & | |||
) |
Creates an edge for the graph with the given descriptor and property.
ed | The descriptor of this edge. |
p | The property of this edge (no_property). |
|
friend |
Reverses the edge descriptor of an edge.
ed | The edge. |