edu.ucla.stat.SOCR.experiments.util
Class BootStrapSort

java.lang.Object
  extended by edu.ucla.stat.SOCR.util.QSortAlgorithm
      extended by edu.ucla.stat.SOCR.experiments.util.BootStrapSort

public class BootStrapSort
extends QSortAlgorithm


Field Summary
protected  boolean stopRequested
          When true stop sorting.
 
Fields inherited from class edu.ucla.stat.SOCR.util.QSortAlgorithm
FLIGNER_KILLEEN_NORMAL
 
Constructor Summary
BootStrapSort()
           
 
Method Summary
static double[] getBounds(double[] a, double alpha)
           
 void init()
          Initialize
static double lowerBound(double[] a, double alpha)
           
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.
 void setParent(SortItem p)
          Set the parent.
 void stop()
          Stop sorting.
static double upperBound(double[] a, double alpha)
           
 
Methods inherited from class edu.ucla.stat.SOCR.util.QSortAlgorithm
getCompleteMap, getMaxNumberTies, getTieMap, getTotalCount, hasTie, main, max, min, rankCombinedLists, rankCombinedLists, rankCombinedLists, rankCombinedListsAssignQuantile, rankList, rankListAssignQuantile, sort, sort
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

stopRequested

protected boolean stopRequested
When true stop sorting.

Constructor Detail

BootStrapSort

public BootStrapSort()
Method Detail

getBounds

public static double[] getBounds(double[] a,
                                 double alpha)
                          throws java.lang.Exception
Throws:
java.lang.Exception

upperBound

public static double upperBound(double[] a,
                                double alpha)
                         throws java.lang.Exception
Throws:
java.lang.Exception

lowerBound

public static double lowerBound(double[] a,
                                double alpha)
                         throws java.lang.Exception
Throws:
java.lang.Exception

setParent

public void setParent(SortItem p)
Set the parent.


pause

protected void pause()
              throws java.lang.Exception
Pause for a while.

Throws:
java.lang.Exception

pause

protected void pause(int H1)
              throws java.lang.Exception
Pause for a while and mark item 1.

Throws:
java.lang.Exception

pause

protected void pause(int H1,
                     int H2)
              throws java.lang.Exception
Pause for a while and mark item 1 & 2.

Throws:
java.lang.Exception

stop

public void stop()
Stop sorting.


init

public void init()
Initialize