]> ruin.nu Git - icfp05.git/blobdiff - copsrc/cop.h
much more advanced cop
[icfp05.git] / copsrc / cop.h
index 0cc2a64e42827a90942827fb8a0399088af5565a..3b1d3a13e93a453cdf9f607802b8ed0bda36da21 100644 (file)
@@ -16,10 +16,11 @@ class Cop : public Bot {
                void sendPlan();
                void getPlans();
                void vote();
+               int maybeAtNeighbor(const Intersection& intersection);
 
                __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;
+               std::list<__gnu_cxx::hash_map<std::string, int> > _maybeRobber;
                __gnu_cxx::hash_map<std::string, int> _winningPlans;
+               std::string _robber;
 };
 #endif