Package autocomplete.cities
Class CitiesInputSizeExperiments
- java.lang.Object
-
- autocomplete.cities.CitiesInputSizeExperiments
-
class CitiesInputSizeExperiments extends Object
Run timing experiments and save a CSV file for eachAutocomplete
implementation.
-
-
Field Summary
Fields Modifier and Type Field Description private static int
INPUT_STEP_SIZE
Step size increment.private static int
MAX_CITIES
Maximum number of cities to include in each experiment.private static int
NUM_TRIALS
Number of trials per implementation run.private static String
PATH
Path to the cities dataset.private static String
TEST_PREFIX
Prefix 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
-
-