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

enable profilebased transfers in raptor #56

Merged
merged 37 commits into from
Nov 6, 2023

Conversation

carstenhagelgans
Copy link
Contributor

@carstenhagelgans carstenhagelgans commented Jul 18, 2023

  • added profilebased transfers using the new profile_idx_t type

  • transfers are calculated with ppr in motis in the transfers module (cf. module: transfers (profilebased) motis#373)

  • added restrictions struct (currently unused, awaiting implementation in motis)

carstenhagelgans and others added 20 commits June 12, 2023 16:20
- no_profiles >= 1
- profile > 0
- added vscode to gitignore
- removed invalid clear call
- restructured two loops into one
- uint8_t -> uint16_t
- invalid method name
- missing default value (no_profiles = 1)
(+) use at(idx) instead of [idx]
list of conflicts:
* timetable.h (profiles removed -> added)
* search.h (profiles removed -> added)
* location.cc (profiles removed -> added)
* reconstruct.cc (profiles removed -> added:365)
* raptor_search.cc (profiles removed -> added:71/101)
* start_times.h (profiles removed -> added:280)
Carsten Hagelgans added 5 commits July 25, 2023 08:34
wip
- added profile_idx_t
- removed osm_[...] structs and types
- updated footpaths_[out, in] from vector to array
- added kMaxProfiles (set to 8)
- added array to nigiri types
@carstenhagelgans carstenhagelgans marked this pull request as ready for review August 1, 2023 07:23
@carstenhagelgans carstenhagelgans marked this pull request as draft October 2, 2023 11:10
@carstenhagelgans carstenhagelgans changed the title enable profilebased footpaths (transfers) enable profilebased transfers in raptor Oct 10, 2023
@felixguendling felixguendling marked this pull request as ready for review November 6, 2023 14:02
@felixguendling felixguendling merged commit 4e433fd into motis-project:master Nov 6, 2023
12 checks passed
felixguendling pushed a commit that referenced this pull request Nov 20, 2023
* set clang version to 15

* added profiles

* added profile dimension to footpaths/preprocessing-footpaths; added osm_type

* reset preprocessing footpaths to one profile only; set profile to uint; added profile to query

* fixed invalid load call; fixed wrong param order

* use array instead of vectors here: profile-based footpaths

* added profiles as vector; updated several functions/methods to work with profiles

* changed no_profiles and profile type from int to uint8_t

- no_profiles >= 1
- profile > 0
- added vscode to gitignore

* Update build_footpaths.cc

- removed invalid clear call
- restructured two loops into one

* changed uint8_t [no_]profile to uint16_t

* added profile-based footpath reinitialization

* bugfix

- uint8_t -> uint16_t
- invalid method name
- missing default value (no_profiles = 1)

* use resize in reinit_footpaths

* fixed type in osm_type_ (osm_types_)

(+) use at(idx) instead of [idx]

* added profile_idx map to tt.locations

* fixed clang-tidy error

* set profile in query as size_t

* profile_idx (type): size_t/uint16_t -> uint

* set clang version - 16

* wip

- added profile_idx_t
- removed osm_[...] structs and types
- updated footpaths_[out, in] from vector to array
- added kMaxProfiles (set to 8)
- added array to nigiri types

* cleanup

* cleanup

* added profiles map to timetable struct

* added location key to locations

* clang-tidy fix

* cleanup

* cleanup

* removed location key to location idx mapping; using profile_idx_T

* removed footpaths from location

* cleanup

* improved readability timetable

---------

Co-authored-by: Carsten Hagelgans <carsten.hagelgans@tu-darmstadt.de>
felixguendling pushed a commit that referenced this pull request Nov 22, 2023
* set clang version to 15

* added profiles

* added profile dimension to footpaths/preprocessing-footpaths; added osm_type

* reset preprocessing footpaths to one profile only; set profile to uint; added profile to query

* fixed invalid load call; fixed wrong param order

* use array instead of vectors here: profile-based footpaths

* added profiles as vector; updated several functions/methods to work with profiles

* changed no_profiles and profile type from int to uint8_t

- no_profiles >= 1
- profile > 0
- added vscode to gitignore

* Update build_footpaths.cc

- removed invalid clear call
- restructured two loops into one

* changed uint8_t [no_]profile to uint16_t

* added profile-based footpath reinitialization

* bugfix

- uint8_t -> uint16_t
- invalid method name
- missing default value (no_profiles = 1)

* use resize in reinit_footpaths

* fixed type in osm_type_ (osm_types_)

(+) use at(idx) instead of [idx]

* added profile_idx map to tt.locations

* fixed clang-tidy error

* set profile in query as size_t

* profile_idx (type): size_t/uint16_t -> uint

* set clang version - 16

* wip

- added profile_idx_t
- removed osm_[...] structs and types
- updated footpaths_[out, in] from vector to array
- added kMaxProfiles (set to 8)
- added array to nigiri types

* cleanup

* cleanup

* added profiles map to timetable struct

* added location key to locations

* clang-tidy fix

* cleanup

* cleanup

* removed location key to location idx mapping; using profile_idx_T

* removed footpaths from location

* cleanup

* improved readability timetable

---------

Co-authored-by: Carsten Hagelgans <carsten.hagelgans@tu-darmstadt.de>
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