fix duration of direct connection
This commit is contained in:
committed by
Patrick Niklaus
parent
ef1fb08723
commit
89d56e1cd1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user