-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor, add routing for way_candidates
- Loading branch information
1 parent
cd409dc
commit 5c5fe08
Showing
11 changed files
with
387 additions
and
224 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 |
---|---|---|
|
@@ -13,7 +13,7 @@ | |
[geo] | ||
[email protected]:motis-project/geo.git | ||
branch=master | ||
commit=82ff7ceeb25abd8ddba01320be27d3cf1bdee1b0 | ||
commit=66b34885c7e96e29ddb78a84ae3ab43302ed94e4 | ||
[cista] | ||
[email protected]:felixguendling/cista.git | ||
branch=master | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
#pragma once | ||
|
||
#include <ostream> | ||
|
||
#include "cista/reflection/comparable.h" | ||
|
||
#include "osr/types.h" | ||
|
||
namespace osr { | ||
|
||
struct location { | ||
CISTA_FRIEND_COMPARABLE(location) | ||
|
||
friend std::ostream& operator<<(std::ostream& out, location const& l) { | ||
return out << "{ pos=" << l.pos_ << ", lvl=" << to_float(l.lvl_) << " }"; | ||
} | ||
|
||
geo::latlng pos_; | ||
level_t lvl_; | ||
}; | ||
|
||
} // namespace osr |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#pragma once | ||
|
||
#include <cinttypes> | ||
#include <string_view> | ||
|
||
namespace osr { | ||
|
||
enum class search_profile : std::uint8_t { | ||
kFoot, | ||
kWheelchair, | ||
kBike, | ||
kCar, | ||
kCarParking, | ||
kCarParkingWheelchair | ||
}; | ||
|
||
search_profile to_profile(std::string_view); | ||
|
||
std::string_view to_str(search_profile); | ||
|
||
} // namespace osr |
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.