Rearrange derivation hierarchy for rail YAPF classes
commita09bf854c38b0fc19d9a5a5c4854b4620d0aeba1
authorcirdan <cirdansw@gmail.com>
Tue, 18 Mar 2014 22:46:06 +0000 (18 23:46 +0100)
committercirdan <cirdansw@gmail.com>
Tue, 18 Mar 2014 22:46:06 +0000 (18 23:46 +0100)
treecb26f0edcb76103161c69100f90e3d0248aac2da
parentb1ffb02013fe2aa0133076648ecf46d8081f0415
Rearrange derivation hierarchy for rail YAPF classes

Rearrange the dependencies among rail YAPF classes, defining the
classes that provide destination detection and cost estimation
as directly deriving from CYapfRailBaseT, and making CYapfRailT
derive from any of them as a template argument. This results in
a clearer hierarchy, and allows us to remove the Yapf() hack.
src/pathfinder/yapf/yapf_rail.cpp