From: Mikko Rasa Date: Mon, 23 Feb 2015 14:42:00 +0000 (+0200) Subject: Rewrite goal initialization for TrainRouteMetric X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=8c7fc0b79ce88e0295e0e6ea52cb7eb753158d8a;hp=8c7fc0b79ce88e0295e0e6ea52cb7eb753158d8a;p=r2c2.git Rewrite goal initialization for TrainRouteMetric The previous code incorrectly added all tracks as goals when a direction was specified, instead of only the ends. This caused cost estimate creep in the route planner, resulting in suboptimal performance. ---