Class
IdManager
Id manager that provides unique ids for vertices and edges.
IdManager | |||||||
![]() | ![]() | ||||||
Include Headers
seqan/graph_types.h
Parameters
The id type of the managed ids. Metafunctions: Value Default: Remarks: Use the Value Metafunction to get the id type managed by a given id manager. | |
The specializing type. Metafunctions: Spec |
Specializations
Id Manager that just counts the number of ids in use. |
Functions
Returns the smallest distributed id. That is, the return value is guaranteed to be the smallest id obtained so far. | |
Returns the largest distributed id plus 1. That is, the return value is guaranteed to be an upper bound on all distributed ids. | |
Determines the number of ids that were obtained. | |
Checks whether the given id is in use or not. | |
Obtains a new id from the id manager. | |
Releases all ids handled by this id manager at once. | |
Releases a given id so it can be redistributed later on. |
SeqAn - Sequence Analysis Library - www.seqan.de