Functions | |
virtual void | abstractMixedGraph::InitPartition () throw () |
virtual void | abstractMixedGraph::Bud (TNode v) throw (ERRange) |
virtual void | abstractMixedGraph::Merge (TNode u, TNode v) throw (ERRange) |
virtual TNode | abstractMixedGraph::Find (TNode v) throw (ERRange) |
virtual void | abstractMixedGraph::ReleasePartition () throw () |
|
Start a single node set.
Reimplemented in abstractBalancedFNW. |
|
Retrieve the set containing a given node.
In order to check if two nodes x,y are in the same set, it is sufficient to evaluate Find(x)==Find(y) and Find(u)!=NoNode. If the context parameter methDSU is set, Find() does not only lookup the canonical element, but also performs some path compression to reduce the future lookup times. Reimplemented in abstractBalancedFNW. |
|
Initialize the disjoint node set structure. If not already present, the disjoint node set structure is allocated. After this operation, it is Find(v)==NoNode for every node v. Reimplemented in abstractBalancedFNW. |
|
Merge two disjoint node sets represented by arbitrary members.
Reimplemented in abstractBalancedFNW. |
|
Release the disjoint set structure. After this operation, it is Find(v)==v for every node v, and the disjoint node set structure is deallocated. Reimplemented in abstractBalancedFNW. |