Skip to content
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 22 commits into from
Apr 11, 2024
Merged

Conversation

mority
Copy link
Contributor

@mority mority commented Apr 4, 2024

No description provided.

@mority mority marked this pull request as draft April 4, 2024 13:34
@mority mority marked this pull request as ready for review April 4, 2024 14:00
include/nigiri/query_generator/transport_mode.h Outdated Show resolved Hide resolved
src/query_generator/generator.cc Outdated Show resolved Hide resolved
include/nigiri/query_generator/generator.h Outdated Show resolved Hide resolved
src/query_generator/generator.cc Outdated Show resolved Hide resolved
src/query_generator/generator.cc Show resolved Hide resolved
src/query_generator/nigiri_generator.cc Outdated Show resolved Hide resolved
src/query_generator/nigiri_generator.cc Outdated Show resolved Hide resolved
test/query_generator/query_generator_test.cc Outdated Show resolved Hide resolved
include/nigiri/query_generator/generator.h Outdated Show resolved Hide resolved
include/nigiri/query_generator/generator.h Outdated Show resolved Hide resolved
include/nigiri/types.h Show resolved Hide resolved
src/query_generator/generator.cc Outdated Show resolved Hide resolved
src/query_generator/generator.cc Outdated Show resolved Hide resolved
src/query_generator/generator.cc Outdated Show resolved Hide resolved
include/nigiri/query_generator/generator.h Outdated Show resolved Hide resolved
include/nigiri/query_generator/generator.h Outdated Show resolved Hide resolved
include/nigiri/query_generator/transport_mode.h Outdated Show resolved Hide resolved
@felixguendling felixguendling merged commit 55dde0d into motis-project:master Apr 11, 2024
12 checks passed
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
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants