| Modifier and Type | Field and Description |
|---|---|
| private static final long | serialVersionUID
Serializable UID. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public int | Returns: The index corresponding to a pivot chosen between the first, middle and the last indices of the array slicedata array work, final int index of the first element of the slice begin, final int index after the last element of the slice end)Implements org. Find pivot index of the array so that partition and Kth element selection can be made This in specific makes use of median of 3 pivoting. |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Serializable UID. | |
| MedianOf3PivotingStrategy | back to summary |
|---|---|
| public MedianOf3PivotingStrategy() | |
| pivotIndex | back to summary |
|---|---|
| public int pivotIndex(final double[] work, final int begin, final int end) throws MathIllegalArgumentException Implements org. Doc from org. Find pivot index of the array so that partition and Kth element selection can be made This in specific makes use of median of 3 pivoting.
| |