X-Git-Url: https://ruin.nu/git/?p=icfp05.git;a=blobdiff_plain;f=botsrc%2Fbot.h;h=62f25569fd2f3f57089fc8d58733675bfee1a605;hp=15be23460cefcf566370f030cc2e7ed1c20613fc;hb=ea7c6c2755a89718e1396c1c3f8061886861ff4c;hpb=f8095bf8fc76eec739a00ae86612881b743e3d8b diff --git a/botsrc/bot.h b/botsrc/bot.h index 15be234..62f2556 100644 --- a/botsrc/bot.h +++ b/botsrc/bot.h @@ -85,9 +85,9 @@ class Bot { virtual void voteResult(); void getPlayers(); template - std::list shortestPath(const std::string& from, PlayerType type, const Goal& goal, const Cost& cost, bool reverse = false); + std::list shortestPath(const std::string& from, PlayerType type, const Goal& goal, const Cost& cost, bool reverse = false) const; template - std::list shortestPath(const std::string& from, PlayerType type, const Goal& goal, bool reverse = false); + std::list shortestPath(const std::string& from, PlayerType type, const Goal& goal, bool reverse = false) const; __gnu_cxx::hash_map _intersections; __gnu_cxx::hash_map _players;