treemap
Toggle table of contents
2025.0.1
common
Platform filter
common
Switch theme
Search in API
treemap
treemap
/
com.treemap
/
PivotByAlgorithm
/
Type
/
computePivotIndex
compute
Pivot
Index
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