SplitSize

Selects the pivot that will split L1 and L3 into approximately equal total areas.

Complexity: O(n log n) average, O(n^2) worst case, where n is the number of nodes in the tree.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open override fun <N> computePivotIndex(children: Array<N>, accessor: TreeMapAccessor<N>): Int

Compute the pivot index

Link copied to clipboard
open override fun toString(): String