fix duration of direct connection

This commit is contained in:
Moritz Kobitzsch
2016-04-01 18:15:11 +02:00
committed by Patrick Niklaus
parent ef1fb08723
commit 89d56e1cd1
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;