java.lang.Object
com.aoapps.hodgepodge.sort.SortStatistics
Sorting statistics to help determine best algorithm for a specific task.
- Author:
- AO Industries, Inc.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlong
long
long
int
long
long
long
long
void
printStats
(PrintWriter out) void
reset()
void
void
void
sortGetting
(int increment) void
void
void
void
void
sortSetting
(int increment) void
void
void
void
-
Constructor Details
-
SortStatistics
public SortStatistics()
-
-
Method Details
-
reset
public void reset() -
sortStarting
public void sortStarting() -
sortEnding
public void sortEnding() -
sortRecursing
public void sortRecursing() -
sortUnrecursing
public void sortUnrecursing() -
sortSwitchingAlgorithms
public void sortSwitchingAlgorithms() -
getAlgorithmSwitchCount
public long getAlgorithmSwitchCount() -
sortGetting
public void sortGetting() -
sortGetting
public void sortGetting(int increment) -
getGetCount
public long getGetCount() -
sortSetting
public void sortSetting() -
sortSetting
public void sortSetting(int increment) -
getSetCount
public long getSetCount() -
sortObjectComparing
public void sortObjectComparing() -
getObjectComparisons
public long getObjectComparisons() -
sortInListComparing
public void sortInListComparing() -
getInListComparisons
public long getInListComparisons() -
sortSwapping
public void sortSwapping() -
getSwapCount
public long getSwapCount() -
getTotalTime
public long getTotalTime() -
getMaxRecursion
public int getMaxRecursion() -
printStats
-