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
/* // Do not compress edge if it crosses a traffic signal. // This can't be done in CanCombineWith, becase we only store the // traffic signals in the `traffic signal` list, which EdgeData // doesn't have access to.*/constbool has_node_penalty = traffic_signals.find(node_v) != traffic_signals.end();
EdgeDuration node_duration_penalty = MAXIMAL_EDGE_DURATION;
EdgeWeight node_weight_penalty = INVALID_EDGE_WEIGHT;
if (has_node_penalty)
{
...
}
From above codes, I think the "compress edge if it crosses a traffic signal" has already been implemented. But the comments make me confused when I'm reading these codes.
After check the commit history, I found that the function has been merged by PR #4327 , only comments not up to date.
The text was updated successfully, but these errors were encountered:
I saw below comments and codes at graph_compressor.cpp#L210:
From above codes, I think the "compress edge if it crosses a traffic signal" has already been implemented. But the comments make me confused when I'm reading these codes.
After check the commit history, I found that the function has been merged by PR #4327 , only comments not up to date.
The text was updated successfully, but these errors were encountered: