Package com.macrofocus.treemap
Interface PivotByAlgorithm.Type
-
- All Known Implementing Classes:
PivotByAlgorithm.Biggest,PivotByAlgorithm.Middle,PivotByAlgorithm.SplitSize
- Enclosing class:
- PivotByAlgorithm
public static interface PivotByAlgorithm.TypeStrategy for determining the node to use as a pivot
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intcomputePivotIndex(TreeMapNode[] children)Compute the pivot index
-
-
-
Method Detail
-
computePivotIndex
int computePivotIndex(TreeMapNode[] children)
Compute the pivot index- Parameters:
children- the nodes- Returns:
- the index of the node to use as a pivot
-
-