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

Protobuf update #63

Merged
merged 6 commits into from
Nov 22, 2023
Merged

Protobuf update #63

merged 6 commits into from
Nov 22, 2023

Conversation

felixguendling
Copy link
Member

No description provided.

carstenhagelgans and others added 3 commits November 20, 2023 12:20
* 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 felixguendling merged commit e56ce43 into master Nov 22, 2023
12 checks passed
@felixguendling felixguendling deleted the protobuf-update branch November 22, 2023 18:08
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