WeightedUnion
com.phasmidsoftware.gryphon.adjunct.WeightedUnion
object WeightedUnion
Shared weighted-union logic for all ParentSize-based disjoint-set implementations.
Extracted here to avoid duplication between ConnectivityLazy and ConnectivityOptimized, both of which use identical merge strategies. A single point of change ensures the two implementations cannot silently diverge.
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
WeightedUnion.type
Members list
In this article