IndexedEdgeList.neighbours

Returns the IDs of vertices connected to v via incoming or outgoing links. If the graph is undirected the two will be identical and the general neighbours method is also defined.

  1. auto neighboursIn(size_t v)
  2. auto neighboursOut(size_t v)
  3. auto neighbours(size_t v)
    class IndexedEdgeList(bool dir)
    const
    static if(!(directed))
    neighbours
    (
    in size_t v
    )

Meta