]> git.tdb.fi Git - r2c2.git/blobdiff - source/libr2c2/trainrouteplanner.h
Penalize steps other than the fastest one
[r2c2.git] / source / libr2c2 / trainrouteplanner.h
index fa97920e4d02730469ab1d5a190377891cf63126..85a748c204099bd4e5cff2947ce5962a687528a1 100644 (file)
@@ -98,6 +98,7 @@ private:
        struct RoutingStep
        {
                Msp::Time::TimeDelta time;
+               Msp::Time::TimeDelta penalty;
                Msp::Time::TimeDelta cost_estimate;
                std::vector<TrainRoutingState> trains;
                const RoutingStep *prev;