IndexedEdgeList.degreeIn

Provide respectively the in- and out-degrees of a vertex v, i.e. the number of vertices to which v is connected by respectively incoming or outgoing links. If the graph is undirected, these values are identical and the general degree method is also defined.

  1. size_t degreeIn(size_t v)
    class IndexedEdgeList(bool dir)
    @safe const pure
    static if(directed)
    size_t
    degreeIn
    (
    in size_t v
    )
  2. alias degreeIn = degree
  3. size_t degreeOut(size_t v)

Meta