use typedef Edgeweight instead of raw int
This commit is contained in:
parent
0c3713f7e5
commit
3b135447f3
@ -89,7 +89,7 @@ template <class DataFacadeT> class ShortestPathRouting : public BasicRoutingInte
|
|||||||
middle2 = UINT_MAX;
|
middle2 = UINT_MAX;
|
||||||
|
|
||||||
const bool allow_u_turn = current_leg > 0 && uturn_indicators.size() > current_leg && uturn_indicators[current_leg-1];
|
const bool allow_u_turn = current_leg > 0 && uturn_indicators.size() > current_leg && uturn_indicators[current_leg-1];
|
||||||
int min_edge_offset = 0;
|
EdgeWeight min_edge_offset = 0;
|
||||||
|
|
||||||
// insert new starting nodes into forward heap, adjusted by previous distances.
|
// insert new starting nodes into forward heap, adjusted by previous distances.
|
||||||
if ((allow_u_turn || search_from_1st_node) &&
|
if ((allow_u_turn || search_from_1st_node) &&
|
||||||
|
Loading…
Reference in New Issue
Block a user