Same as defaults except trunk and trunk_link are not allowed
| 97 | |
| 98 | // Same as defaults except trunk and trunk_link are not allowed |
| 99 | VehicleModel::LimitsInitList NoTrunk() |
| 100 | { |
| 101 | VehicleModel::LimitsInitList res; |
| 102 | res.reserve(kDefaultOptions.size() - 2); |
| 103 | for (auto const & e : kDefaultOptions) |
| 104 | if (e.m_type != HighwayType::HighwayTrunk && e.m_type != HighwayType::HighwayTrunkLink) |
| 105 | res.push_back(e); |
| 106 | return res; |
| 107 | } |
| 108 | |
| 109 | // Same as defaults except pedestrian is allowed |
| 110 | HighwayBasedSpeeds NormalPedestrianSpeed() |
no test coverage detected