]> ruin.nu Git - icfp05.git/blobdiff - bot/bot.h
implemented shortest path
[icfp05.git] / bot / bot.h
index 416fe63a000e9ee68f9f0998a2023266c6048f4c..483cfd5f6418e4850e91312319cd2d034c05e816 100644 (file)
--- a/bot/bot.h
+++ b/bot/bot.h
@@ -66,6 +66,7 @@ class Bot {
                void updateWorld();
                virtual std::string turn();
                void move(std::string location);
+               std::vector<std::string> shortestPath(std::string from, std::string to, std::string type);
 
        __gnu_cxx::hash_map<std::string, Intersection> _intersections;
        __gnu_cxx::hash_map<std::string, Player> _players;