Graph.VertexOutMap

A class that maps vertices to their outgoing edge ids. Example usage: VertexOutMap out(g); for (Graph::EdgeId e : out.edge_ids(v)) { ... } for (const Graph::Edge& edge : out.edges(v)) { ... }

Constructors

this
this(const(Graph) g)
Undocumented in source.

Members

Functions

degree
int degree(VertexId v)
Undocumented in source. Be warned that the author may not have intended to support it.
edgeIds
EdgeId[] edgeIds(VertexId v0, VertexId v1)
Undocumented in source. Be warned that the author may not have intended to support it.
edgeIds
auto edgeIds(VertexId v)
Undocumented in source. Be warned that the author may not have intended to support it.
edges
const(Edge[]) edges(VertexId v)
Undocumented in source. Be warned that the author may not have intended to support it.
edges
auto edges(VertexId v0, VertexId v1)

Returns a range of Edge (or edge ids) between a specific pair of vertices.

Meta