public class QS_double
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private int[] |
Index |
private double[] |
QSciag |
Constructor and Description |
---|
QS_double(double[] dI) |
QS_double(java.util.List<E> A) |
Modifier and Type | Method and Description |
---|---|
int[] |
getIndex() |
double[] |
getQSciag() |
private boolean |
ifAllTheSame(int p,
int q) |
private void |
IndexInit() |
private int |
partition(int p,
int q) |
private int |
pivotTheChosenOne(int p,
int q) |
private void |
sort(int p,
int q) |
private void |
swap(int i,
int j) |
private int |
threeWayPartition(int p,
int q) |
public int[] getIndex()
public double[] getQSciag()
private int partition(int p, int q)
private void swap(int i, int j)
private int threeWayPartition(int p, int q)
private int pivotTheChosenOne(int p, int q)
private boolean ifAllTheSame(int p, int q)
private void sort(int p, int q)
private void IndexInit()