computePivotIndex

abstract fun <N> computePivotIndex(children: Array<N>, accessor: TreeMapAccessor<N>): Int

Compute the pivot index

Return

the index of the node to use as a pivot

Parameters

children

the nodes