Expand description
Union-Find (Disjoint Set Union) data structure for call graph connectivity.
§Invariants (Creusot)
#[invariant(self.parent.len() == self.rank.len())]
#[invariant(forall(|i| i < self.parent.len() ==> self.parent[i] < self.parent.len()))]§Properties
findis idempotent:find(find(x)) == find(x)mergeestablishes equivalence: aftermerge(x, y),find(x) == find(y)component_countreturns the number of distinct roots among file-kind nodes
Structs§
- Node
Descriptor - Descriptor for a node in the call graph.
- Union
Find - Union-Find data structure for tracking connected components in a call graph.
Enums§
- Node
Kind - The kind of node in the call graph.