Package autocomplete.cities
Class CitiesInputSizeExperiments
- java.lang.Object
 - 
- autocomplete.cities.CitiesInputSizeExperiments
 
 
- 
class CitiesInputSizeExperiments extends Object
Run timing experiments and save a CSV file for eachAutocompleteimplementation. 
- 
- 
Field Summary
Fields Modifier and Type Field Description private static intINPUT_STEP_SIZEStep size increment.private static intMAX_CITIESMaximum number of cities to include in each experiment.private static intNUM_TRIALSNumber of trials per implementation run.private static StringPATHPath to the cities dataset.private static StringTEST_PREFIXPrefix used for benchmarkingallMatches. 
- 
Constructor Summary
Constructors Constructor Description CitiesInputSizeExperiments() 
 - 
 
- 
- 
Field Detail
- 
MAX_CITIES
private static final int MAX_CITIES
Maximum number of cities to include in each experiment.- See Also:
 - Constant Field Values
 
 
- 
INPUT_STEP_SIZE
private static final int INPUT_STEP_SIZE
Step size increment. Making this smaller means experiments run slower.- See Also:
 - Constant Field Values
 
 
- 
NUM_TRIALS
private static final int NUM_TRIALS
Number of trials per implementation run. Making this smaller means experiments run faster.- See Also:
 - Constant Field Values
 
 
- 
TEST_PREFIX
private static final String TEST_PREFIX
Prefix used for benchmarkingallMatches.- See Also:
 - Constant Field Values
 
 
- 
PATH
private static final String PATH
Path to the cities dataset.- See Also:
 - Constant Field Values
 
 
 - 
 
- 
Method Detail
- 
main
public static void main(String[] args) throws IOException
- Throws:
 IOException
 
 - 
 
 -