Function

addEdges

Shortcut to add multiple edges at once.
Creates vertices implicitly.

Include Headers

seqan/graph_types.h

Parameters

A graph. Types: Graph | |

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, ... Types: VertexDescriptor | |

Size of the array. Must be a multiple of 2. Types: Size |

Return Values

void

See Also

SeqAn - Sequence Analysis Library - www.seqan.de