Function
addEdges
Shortcut to add multiple edges at once. Creates vertices implicitly.
addEdge(g, edges, size)
Parameters
g
A graph.
Types: Graph
edges
An array of vertex descriptors. It is assumed that the edges are stored in the following way: Source1, Target1, Source2, Target2, Source3, ... For a tree the root must be the first vertex in this array and the enumeration is Parent, Child, Parent, Child, ...
size
Size of the array. Must be a multiple of 2.
Types: Size
Return Values
void
SeqAn - Sequence Analysis Library - www.seqan.de