Represents a collection of disjoint sets of Uint64 values.

Supports merging sets, retrieving the minimum Uint64 value contained in a set (the representative value), and iterating over the elements contained in a set.

Hierarchy

  • DisjointUint64Sets

Constructors

Properties

generation: number = 0
highBitRepresentative: WatchableValueInterface<boolean> = ...
map: Map<string, Uint64> = ...

Accessors

Methods

  • Returns an array of arrays of strings, where the arrays contained in the outer array correspond to the disjoint sets, and the strings are the base-10 string representations of the members of each set. The members are sorted in numerical order, and the sets are sorted in numerical order of their smallest elements.

    Returns string[][]

Generated using TypeDoc