We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce33f1a commit d2e7e6eCopy full SHA for d2e7e6e
src/extractor/graph_compressor.cpp
@@ -206,7 +206,7 @@ void GraphCompressor::Compress(
206
graph.GetEdgeData(reverse_e2).annotation_data = selectAnnotation(
207
rev_edge_data2.annotation_data, rev_edge_data1.annotation_data);
208
209
- // add node penalty when compress edge if it crosses a traffic signal.
+ // Add node penalty when compress edge crosses a traffic signal
210
const bool has_node_penalty = traffic_signals.find(node_v) != traffic_signals.end();
211
EdgeDuration node_duration_penalty = MAXIMAL_EDGE_DURATION;
212
EdgeWeight node_weight_penalty = INVALID_EDGE_WEIGHT;
0 commit comments