Class ListSortTimes

java.lang.Object
  |
  +--ListSortTimes

public class ListSortTimes
extends java.lang.Object

Class ListSortTimes outputs raw data points for worst-case sort of lists between sizes 100 and 5000, in increments of 100. It uses the method ListSortAndSearch.sort.

The timing graph for the calls to ListSortAndSearch.sort is:


Constructor Summary
ListSortTimes()
           
 
Method Summary
static void generateTime(int size)
          Generate a timing pair for list sorting of the form list_size sort_time
static void main(java.lang.String[] args)
          Call ListSortAndSearch.sort on lists of sizes 100 through 5000, in increments of 100.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ListSortTimes

public ListSortTimes()
Method Detail

main

public static void main(java.lang.String[] args)
Call ListSortAndSearch.sort on lists of sizes 100 through 5000, in increments of 100.

generateTime

public static void generateTime(int size)
Generate a timing pair for list sorting of the form list_size sort_time