-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Query generator #79
Merged
Merged
Query generator #79
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
felixguendling
requested changes
Apr 9, 2024
felixguendling
requested changes
Apr 10, 2024
felixguendling
requested changes
Apr 10, 2024
felixguendling
added a commit
that referenced
this pull request
Aug 14, 2024
* WIP * WIP * new geo version * WIP * WIP * WIP * WIP * WIP use weights for hour of time of day when randomizing time * WIP * WIP random_on_trip * WIP random_on_trip * WIP * WIP * WIP * refactoring, clean up * clean up * replaces unsigned long with std::uint64_t * clang-tidy * WIP * WIP * WIP * WIP * Requested changes from review of PR #79 * MSVC compatibility * whitespace * Requested changes from review of PR #79 * loading timetable via load.h from rust branch * load timetable from cache file * query generation & processing * progress bars * WIP * WIP * test for reproducibility using seed value for RNG * user provided seed for RNG to reproduce queries * provide seed as cmd line arg, more stats, pretty printing * clean up * clean up * clean up * clean up * all control paths return a value * indent * WIP program options * WIP program options * print settings * print transport_mode * program_options * bbox support * bbox support, start and end date arguments * execute routing in try-catch * adds boost dependency * fixes boost program options lib name * refactoring * better bounding box support * clean up * brings back random_transport_active_stop, needed for ontrip query generation in motis * reduced num_queries to speedup test * some input checks * reformat * serial query generation since query generator is not thread safe * load.h/load.cc from rust branch * wip * adds boost dependency * adds importer executable * fixes error unformattable * wip * use binary timetable files created by importer * reuse allocation of search and raptor state * parse date using date lib IO * clean up * reformat * operator== for query * cleanup * remove allocations * clang-format-16 * requested changes * formatting * wip * set start/dest coordinate * show other attributes when printing stats of an attribute * new boost version * new geo version * fix offset duration calculation * fix accessing routes of location with no routes * removes cout * wip * wip * more stats, print ranking of slowest queries * interval size unit hours * pretty printing * remove space between lat and lon for easier c&p * adds units to time designations * kMaxTransfers as default value, allow 2 digit input for max. number of transfers * increment progress tracker * re-adds benchmark target * print memory usage * print interval size in hours on macos * clang-format-17 * print command to re-run slowest source-destination combination * cleanup * mv to exe dir * refactoring * revert undesired formatting * requested changes from review * adds build targets variable, add nigiri-benchmark as build target * make local include stand out * rm unnecessary comment * clang-tidy * clang-format-17 * build targets variable in powershell * no var * wip * generic string, profile index limits * print double seconds on macos * print on macos * fix re-run cmd * fix re-run cmd * invalid start coord * use geo::latlng printing * to_string for predefined transport modes * fix re-run command * adds description of coordinates input format * link benchmark bin against ianatzdb-res to prevent crashes on windows * prevents crash if no location reachable from start/dest coord with given transport mode * print the query index when listing the 10 slowest queries --------- Co-authored-by: Felix Gündling <felix.guendling@gmail.com>
felixguendling
added a commit
that referenced
this pull request
Sep 17, 2024
* WIP * WIP * new geo version * WIP * WIP * WIP * WIP * WIP use weights for hour of time of day when randomizing time * WIP * WIP random_on_trip * WIP random_on_trip * WIP * WIP * WIP * refactoring, clean up * clean up * replaces unsigned long with std::uint64_t * clang-tidy * WIP * WIP * WIP * WIP * Requested changes from review of PR #79 * MSVC compatibility * whitespace * Requested changes from review of PR #79 * loading timetable via load.h from rust branch * load timetable from cache file * query generation & processing * progress bars * WIP * WIP * test for reproducibility using seed value for RNG * user provided seed for RNG to reproduce queries * provide seed as cmd line arg, more stats, pretty printing * clean up * clean up * clean up * clean up * all control paths return a value * indent * WIP program options * WIP program options * print settings * print transport_mode * program_options * bbox support * bbox support, start and end date arguments * execute routing in try-catch * adds boost dependency * fixes boost program options lib name * refactoring * better bounding box support * clean up * brings back random_transport_active_stop, needed for ontrip query generation in motis * reduced num_queries to speedup test * some input checks * reformat * serial query generation since query generator is not thread safe * load.h/load.cc from rust branch * wip * adds boost dependency * adds importer executable * fixes error unformattable * wip * use binary timetable files created by importer * reuse allocation of search and raptor state * parse date using date lib IO * clean up * reformat * operator== for query * cleanup * remove allocations * clang-format-16 * requested changes * formatting * wip * set start/dest coordinate * show other attributes when printing stats of an attribute * new boost version * new geo version * fix offset duration calculation * fix accessing routes of location with no routes * removes cout * wip * wip * more stats, print ranking of slowest queries * interval size unit hours * pretty printing * remove space between lat and lon for easier c&p * adds units to time designations * kMaxTransfers as default value, allow 2 digit input for max. number of transfers * increment progress tracker * re-adds benchmark target * print memory usage * print interval size in hours on macos * clang-format-17 * print command to re-run slowest source-destination combination * cleanup * mv to exe dir * refactoring * wip * adds operator[] * wip * revert unneeded changes * adds qa tests * pull up test for empty pareto set * refactor * clang tidy * wip * refactor * wip * wip * clang-tidy * fix vector index of of bounds * qa bin * qa bin * qa bin * qa bin path * flip ref and cmp * revert undesired formatting * wip * requested changes from review * adds build targets variable, add nigiri-benchmark as build target * make local include stand out * rm unnecessary comment * clang-tidy * clang-format-17 * build targets variable in powershell * no var * wip * generic string, profile index limits * print double seconds on macos * print on macos * fix re-run cmd * fix re-run cmd * invalid start coord * use geo::latlng printing * to_string for predefined transport modes * fix re-run command * refactor tests * adds description of coordinates input format * link benchmark bin against ianatzdb-res to prevent crashes on windows * fix writing criteria to file * undo unnecessary changes * const * default initialization for test cases of transit qa * format --------- Co-authored-by: Felix Gündling <felix.guendling@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.