public class QSortAlgorithm
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
FLIGNER_KILLEEN_NORMAL |
protected boolean |
stopRequested
When true stop sorting.
|
Constructor and Description |
---|
QSortAlgorithm() |
Modifier and Type | Method and Description |
---|---|
static java.util.HashMap |
getCompleteMap() |
static int |
getMaxNumberTies() |
static java.util.HashMap |
getTieMap() |
static int |
getTotalCount() |
static boolean |
hasTie() |
void |
init()
Initialize
|
static void |
main(java.lang.String[] args) |
static double |
max(double[] a) |
static double |
min(double[] a) |
protected void |
pause()
Pause for a while.
|
protected void |
pause(int H1)
Pause for a while and mark item 1.
|
protected void |
pause(int H1,
int H2)
Pause for a while and mark item 1 & 2.
|
static DataCase[] |
rankCombinedLists(DataCase[] input) |
static DataCase[] |
rankCombinedLists(DataCase[][] groups,
java.lang.String[] groupNames) |
static DataCase[] |
rankCombinedLists(DataCase[] groupA,
DataCase[] groupB) |
static DataCase[] |
rankCombinedListsAssignQuantile(DataCase[][] groups,
java.lang.String[] groupNames,
java.lang.String distributionType) |
static DataCase[] |
rankList(DataCase[] combo) |
static DataCase[] |
rankListAssignQuantile(DataCase[] combo,
java.lang.String distributionType) |
void |
setParent(SortItem p)
Set the parent.
|
void |
sort(DataCase[] a) |
void |
sort(double[] a) |
void |
stop()
Stop sorting.
|
public static final java.lang.String FLIGNER_KILLEEN_NORMAL
protected boolean stopRequested
public void sort(double[] a) throws java.lang.Exception
java.lang.Exception
public void sort(DataCase[] a) throws java.lang.Exception
java.lang.Exception
public static double min(double[] a) throws java.lang.Exception
java.lang.Exception
public static double max(double[] a) throws java.lang.Exception
java.lang.Exception
public static DataCase[] rankCombinedLists(DataCase[][] groups, java.lang.String[] groupNames)
public static DataCase[] rankCombinedListsAssignQuantile(DataCase[][] groups, java.lang.String[] groupNames, java.lang.String distributionType)
public static DataCase[] rankListAssignQuantile(DataCase[] combo, java.lang.String distributionType)
public static java.util.HashMap getTieMap()
public static java.util.HashMap getCompleteMap()
public static boolean hasTie()
public static int getMaxNumberTies()
public static int getTotalCount()
public static void main(java.lang.String[] args)
public void setParent(SortItem p)
protected void pause() throws java.lang.Exception
java.lang.Exception
protected void pause(int H1) throws java.lang.Exception
java.lang.Exception
protected void pause(int H1, int H2) throws java.lang.Exception
java.lang.Exception
public void stop()
public void init()