-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
enable profilebased transfers in raptor (#56)
* 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>
- Loading branch information
1 parent
6ab4efd
commit 4e433fd
Showing
21 changed files
with
68 additions
and
86 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,4 @@ | |
/deps | ||
/.idea | ||
/.clang-tidy | ||
/.vscode |
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Oops, something went wrong.