fix duration of direct connection

This commit is contained in:
Moritz Kobitzsch
2016-04-01 18:15:11 +02:00
parent 144536a09d
commit 7f7d7816e5
3 changed files with 11 additions and 3 deletions
@@ -352,6 +352,7 @@ void EdgeBasedGraphFactory::GenerateEdgeExpandedEdges(
// the following is the core of the loop.
unsigned distance = edge_data1.distance;
std::cout << "Distance: " << distance << std::endl;
if (m_traffic_lights.find(node_v) != m_traffic_lights.end())
{
distance += profile_properties.traffic_signal_penalty;