IndexedEdgeList.addEdge

Add new edges to the graph. These may be provided either singly, by passing an individual (tail, head) pair, or en masse by passing an array whose entries are [tail1, head1, tail2, head2, ...]. Duplicate edges are permitted.

  1. void addEdge(size_t tail, size_t head)
    class IndexedEdgeList(bool dir)
    void
    addEdge
    ()
    (
    size_t tail
    ,
    size_t head
    )
  2. void addEdge(T[] edgeList)

Meta