X-Git-Url: https://ruin.nu/git/?p=icfp05.git;a=blobdiff_plain;f=botsrc%2Fbot.h;h=15be23460cefcf566370f030cc2e7ed1c20613fc;hp=aad7473d6d24de7c004f10a19b7374b11ee6529d;hb=c5b563366b04bc53fc48e5040447bab6ff1a6abb;hpb=78f8a847a81dc52d71a44833bc177bd156f62c4c diff --git a/botsrc/bot.h b/botsrc/bot.h index aad7473..15be234 100644 --- a/botsrc/bot.h +++ b/botsrc/bot.h @@ -84,6 +84,8 @@ class Bot { virtual void vote(); virtual void voteResult(); void getPlayers(); + template + std::list shortestPath(const std::string& from, PlayerType type, const Goal& goal, const Cost& cost, bool reverse = false); template std::list shortestPath(const std::string& from, PlayerType type, const Goal& goal, bool reverse = false); @@ -104,6 +106,7 @@ class Bot { __gnu_cxx::hash_map _winningPlans; }; + class SimpleSPGoal{ std::string _to; int _limit;