File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -206,12 +206,7 @@ void GraphCompressor::Compress(
206206 graph.GetEdgeData (reverse_e2).annotation_data = selectAnnotation (
207207 rev_edge_data2.annotation_data , rev_edge_data1.annotation_data );
208208
209- /*
210- // Do not compress edge if it crosses a traffic signal.
211- // This can't be done in CanCombineWith, becase we only store the
212- // traffic signals in the `traffic signal` list, which EdgeData
213- // doesn't have access to.
214- */
209+ // Add node penalty when compress edge crosses a traffic signal
215210 const bool has_node_penalty = traffic_signals.find (node_v) != traffic_signals.end ();
216211 EdgeDuration node_duration_penalty = MAXIMAL_EDGE_DURATION;
217212 EdgeWeight node_weight_penalty = INVALID_EDGE_WEIGHT;
You can’t perform that action at this time.
0 commit comments