]> ruin.nu Git - icfp05.git/blobdiff - botsrc/bot.h
initial implementation of new robber
[icfp05.git] / botsrc / bot.h
index 15be23460cefcf566370f030cc2e7ed1c20613fc..62f25569fd2f3f57089fc8d58733675bfee1a605 100644 (file)
@@ -85,9 +85,9 @@ class Bot {
                virtual void voteResult();
                void getPlayers();
                template<class Goal, class Cost>
-               std::list<std::string> shortestPath(const std::string& from, PlayerType type, const Goal& goal, const Cost& cost, bool reverse = false);
+               std::list<std::string> shortestPath(const std::string& from, PlayerType type, const Goal& goal, const Cost& cost, bool reverse = false) const;
                template<class Goal>
-               std::list<std::string> shortestPath(const std::string& from, PlayerType type, const Goal& goal, bool reverse = false);
+               std::list<std::string> shortestPath(const std::string& from, PlayerType type, const Goal& goal, bool reverse = false) const;
 
                __gnu_cxx::hash_map<std::string, Intersection> _intersections;
                __gnu_cxx::hash_map<std::string, Player> _players;