]> git.tdb.fi Git - r2c2.git/blobdiff - source/libr2c2/trainrouteplanner.h
Filter out non-viable routing steps before adding them to the list
[r2c2.git] / source / libr2c2 / trainrouteplanner.h
index 2ae7dc4ef6e502d6f27f263cb67c24a453321a8d..b241150413905f718ca1eb6255603430fc8c4f64 100644 (file)
@@ -83,6 +83,7 @@ private:
                RoutingStep(RoutingStep *);
 
                void advance(const Msp::Time::TimeDelta &);
+               bool is_viable() const;
                bool is_goal() const;
 
                bool operator<(const RoutingStep &) const;