* Enable transit line penalties also when no explicit line was given Currently, if no transit line is given, all edges get penalty factor 0 regardless of whether there are transit lines following the edge or not. The change introduced in this commit will give penalty factor 0 if there is at least one transit line following the edge and penalty factor 1 if there are no tranist lines at all following the edge. Behavior in the case when a transit line is given is untouched. This should improve routing results by preferring edges with associated transit lines. This used to be the behaviour before some refactoring. Maybe it was broken unintentionally. |
||
|---|---|---|
| .. | ||
| Comp.h | ||
| EdgePL.cpp | ||
| EdgePL.h | ||
| Graph.h | ||
| Misc.h | ||
| NodePL.h | ||
| Router.cpp | ||
| Router.h | ||
| RoutingAttrs.h | ||
| ShapeBuilder.cpp | ||
| ShapeBuilder.h | ||