base of union-find data structures: stores only the parent forest and the operations that depend on it alone, so it is shared by the sequential UnionFind and the ParallelUnionFind
More...
|
| virtual unsafe void | Dispose (bool disposing) |
base of union-find data structures: stores only the parent forest and the operations that depend on it alone, so it is shared by the sequential UnionFind and the ParallelUnionFind
- Template Parameters
-
| I | is the identifier of a set's element, e.g. FaceId Generated from class MR::BaseUnionFind<MR.UndirectedEdgeId>. Derived classes: Direct: (non-virtual) MR::UnionFind<MR.UndirectedEdgeId> This is the const half of the class. |
◆ Const_BaseUnionFind_MRUndirectedEdgeId() [1/4]
| unsafe MR.Const_BaseUnionFind_MRUndirectedEdgeId.Const_BaseUnionFind_MRUndirectedEdgeId |
( |
| ) |
|
|
inline |
Constructs an empty (default-constructed) instance.
◆ Const_BaseUnionFind_MRUndirectedEdgeId() [2/4]
| unsafe MR.Const_BaseUnionFind_MRUndirectedEdgeId.Const_BaseUnionFind_MRUndirectedEdgeId |
( |
MR._ByValue_BaseUnionFind_MRUndirectedEdgeId | _other | ) |
|
|
inline |
◆ Const_BaseUnionFind_MRUndirectedEdgeId() [3/4]
◆ Const_BaseUnionFind_MRUndirectedEdgeId() [4/4]
◆ Dispose() [1/2]
| virtual void MR.Const_BaseUnionFind_MRUndirectedEdgeId.Dispose |
( |
| ) |
|
|
inlinevirtual |
◆ Dispose() [2/2]
| virtual unsafe void MR.Const_BaseUnionFind_MRUndirectedEdgeId.Dispose |
( |
bool | disposing | ) |
|
|
inlineprotectedvirtual |
◆ isRoot()
returns true if given element is the root of some set Generated from method MR::BaseUnionFind<MR.UndirectedEdgeId>isRoot.
◆ parent()
return parent element of this element, which is equal to given element only for set's root Generated from method MR::BaseUnionFind<MR.UndirectedEdgeId>parent.
◆ parents()
◆ size()
| unsafe nuint MR.Const_BaseUnionFind_MRUndirectedEdgeId.size |
( |
| ) |
|
|
inline |
returns the number of elements in union-find Generated from method MR::BaseUnionFind<MR.UndirectedEdgeId>size.
The documentation for this class was generated from the following file: