You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Both turn_weight_penalties and turn_duration_penalties are vectors that cross the function, and will be written into file once when the whole processing finished.
After go through the codes, I think unify the process of turn_indexes same as turn_weight_penalties/turn_duration_penalties should be ok, right? Any concern?
The text was updated successfully, but these errors were encountered:
All the
index/weight/duration
of turns are generated and written into file in void EdgeBasedGraphFactory::GenerateEdgeExpandedEdges. However, their implementation are a little bit different.Both
turn_weight_penalties
andturn_duration_penalties
are vectors that cross the function, and will be written into file once when the whole processing finished.osrm-backend/src/extractor/edge_based_graph_factory.cpp
Lines 472 to 474 in 9f80f6d
osrm-backend/src/extractor/edge_based_graph_factory.cpp
Lines 1164 to 1167 in 9f80f6d
By contrast,
turn_indexes_write_buffer
will be written to file per 1000. It leads to thewrite to file
action dispersedly in a few places.osrm-backend/src/extractor/edge_based_graph_factory.cpp
Lines 452 to 454 in 9f80f6d
osrm-backend/src/extractor/edge_based_graph_factory.cpp
Lines 490 to 496 in 9f80f6d
osrm-backend/src/extractor/edge_based_graph_factory.cpp
Lines 1057 to 1064 in 9f80f6d
After go through the codes, I think unify the process of
turn_indexes
same asturn_weight_penalties/turn_duration_penalties
should be ok, right? Any concern?The text was updated successfully, but these errors were encountered: