generate-shapes/src/pfaedle/router
Alexander Held 08b0685ad1
Optional transit line penalties when no explicit line was given (#19)
* 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.
2020-10-13 20:27:20 +02:00
..
Comp.h clean up and refactor half-baked development commits and squash them into a new version. 2019-01-12 01:08:13 +01:00
EdgePL.cpp clean up and refactor half-baked development commits and squash them into a new version. 2019-01-12 01:08:13 +01:00
EdgePL.h clean up and refactor half-baked development commits and squash them into a new version. 2019-01-12 01:08:13 +01:00
Graph.h initial commit 2018-06-09 17:14:08 +02:00
Misc.h Optional transit line penalties when no explicit line was given (#19) 2020-10-13 20:27:20 +02:00
NodePL.h clean up and refactor half-baked development commits and squash them into a new version. 2019-01-12 01:08:13 +01:00
Router.cpp Optional transit line penalties when no explicit line was given (#19) 2020-10-13 20:27:20 +02:00
Router.h Optional transit line penalties when no explicit line was given (#19) 2020-10-13 20:27:20 +02:00
RoutingAttrs.h refactoring 2019-02-03 12:48:48 +01:00
ShapeBuilder.cpp output all GeoJSON as WGS84 to be RFC 7946 conform 2019-07-23 22:47:35 +02:00
ShapeBuilder.h refactoring 2019-02-03 12:48:48 +01:00