vg
tools for working with variation graphs
|
Public Member Functions | |
HandleGraphNodeSet (const HandleGraph *graph) | |
size_t | size () const |
void | insert (const handle_t &here) |
bool | count (const handle_t &here) const |
Private Attributes | |
unordered_set< handle_t > | visited |
const HandleGraph * | graph |
A set over the nodes in a handle graph. All queries automatically ignore orientation.
|
inline |
Make a new set over the nodes of the given graph.
|
inline |
Return whether a node is in the set, given a handle to either orientation.
|
inline |
Add a node to the set, given a handle to either orientation.
|
inline |
Get the number of nodes in the set.
|
private |
|
private |