]> ruin.nu Git - icfp05.git/blobdiff - copsrc/cop.h
done, for now
[icfp05.git] / copsrc / cop.h
index 42cb7787d0d13e420be84f332354e2fb556698a4..0cc2a64e42827a90942827fb8a0399088af5565a 100644 (file)
@@ -2,6 +2,7 @@
 #define __COP_H__
 
 #include <bot.h>
+#include <utility>
 
 class Cop : public Bot {
        public:
@@ -9,10 +10,16 @@ class Cop : public Bot {
                
                std::string turn();
        protected:
+               virtual void preGamePreparations();
                void sendInformation();
                void getInformation();
                void sendPlan();
                void getPlans();
                void vote();
+
+               __gnu_cxx::hash_map<std::string, std::pair<std::string, PlayerType> > _copTargets;
+               std::vector<std::string> _noRobber;
+               __gnu_cxx::hash_map<std::string, int> _maybeRobber;
+               __gnu_cxx::hash_map<std::string, int> _winningPlans;
 };
 #endif