Removes access_restricted flag internally

This commit is contained in:
Daniel J. Hofmann
2016-12-05 10:54:24 +01:00
committed by Daniel J. H
parent d11927046f
commit 949d505783
8 changed files with 10 additions and 51 deletions
+1 -3
View File
@@ -22,8 +22,7 @@ namespace
// creates a default edge of unit weight
inline InputEdge MakeUnitEdge(const NodeID from, const NodeID to)
{
// src, tgt, dist, edge_id, name_id, access_restricted, fwd, bkwd, roundabout, circular
// travel_mode
// src, tgt, dist, edge_id, name_id, fwd, bkwd, roundabout, circular, travel_mode
return {from,
to,
1,
@@ -32,7 +31,6 @@ inline InputEdge MakeUnitEdge(const NodeID from, const NodeID to)
false,
false,
false,
false,
true,
TRAVEL_MODE_INACCESSIBLE,
INVALID_LANE_DESCRIPTIONID};