|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.ucla.stat.SOCR.util.QSortAlgorithm
public class QSortAlgorithm
Field Summary | |
---|---|
static java.lang.String |
FLIGNER_KILLEEN_NORMAL
|
protected boolean |
stopRequested
When true stop sorting. |
Constructor Summary | |
---|---|
QSortAlgorithm()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String FLIGNER_KILLEEN_NORMAL
protected boolean stopRequested
Constructor Detail |
---|
public QSortAlgorithm()
Method Detail |
---|
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[] input)
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[] rankCombinedLists(DataCase[] groupA, DataCase[] groupB)
public static DataCase[] rankList(DataCase[] combo)
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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |