diff options
author | Vladimir Byko-Ianko <v.bykoianko@corp.mail.ru> | 2016-06-03 19:17:14 +0300 |
---|---|---|
committer | Vladimir Byko-Ianko <v.bykoianko@corp.mail.ru> | 2016-06-17 19:36:50 +0300 |
commit | afea24bc7f403e40cea7f3f067b6cced9dbfd7f9 (patch) | |
tree | b190be76f6a9a8256dc87c4312efa8b3363d54e9 /routing/pedestrian_model.hpp | |
parent | 0b8e94adccd2da6019b6ff5512156e8b1d570123 (diff) |
[bicycle routing] Using attr bicycle=yes or no and oneway:bicycle for bicycle routing.
Diffstat (limited to 'routing/pedestrian_model.hpp')
-rw-r--r-- | routing/pedestrian_model.hpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/routing/pedestrian_model.hpp b/routing/pedestrian_model.hpp index b32db45e27..3369ed46be 100644 --- a/routing/pedestrian_model.hpp +++ b/routing/pedestrian_model.hpp @@ -14,11 +14,10 @@ public: PedestrianModel(); PedestrianModel(VehicleModel::InitListT const & speedLimits); - /// @name Overrides from VehicleModel. - //@{ + /// VehicleModel overrides. double GetSpeed(FeatureType const & f) const override; bool IsOneWay(FeatureType const &) const override { return false; } - //@} + bool IsRoad(FeatureType const & f) const override; private: void Init(); @@ -49,5 +48,4 @@ public: private: unordered_map<string, shared_ptr<IVehicleModel>> m_models; }; - } // namespace routing |