・src/main/java/count_experiment: Sum experiment code for count-based window
・src/main/java/count_experiment_max: Max experiment code for count-based window
・src/main/java/count_experiment_std: Std experiment code for count-based window
・src/main/java/time_experiment: Sum experiment code for time-based window
・src/main/java/time_experiment_max: Max experiment code for time-based window
・src/main/java/time_experiment_std: Std experiment code for time-based window
IDE: IntelliJ IDEA 2023.1
SDK: BellSoft Liberica version 1.8
(Results may vary depending on the environment.)
First, download the zip file from the following url. Unzip that file and place the two txt files in a folder directly below.
Then, by running main.java in each package, the time for each method can be measured.
Commenting out the figure below in main.java allows experiment with varying numbers of queries.
Commenting out the figure below allows experiment with varying window size.