X-Git-Url: https://ruin.nu/git/?p=icfp05.git;a=blobdiff_plain;f=copsrc%2Fcop.h;fp=copsrc%2Fcop.h;h=3b1d3a13e93a453cdf9f607802b8ed0bda36da21;hp=0cc2a64e42827a90942827fb8a0399088af5565a;hb=a76a0b3a94ab89c98135829d163a5fd303398f98;hpb=d3bca66246f3489aa03d5e0fa7d10ca62511c11d diff --git a/copsrc/cop.h b/copsrc/cop.h index 0cc2a64..3b1d3a1 100644 --- a/copsrc/cop.h +++ b/copsrc/cop.h @@ -16,10 +16,11 @@ class Cop : public Bot { void sendPlan(); void getPlans(); void vote(); + int maybeAtNeighbor(const Intersection& intersection); __gnu_cxx::hash_map > _copTargets; - std::vector _noRobber; - __gnu_cxx::hash_map _maybeRobber; + std::list<__gnu_cxx::hash_map > _maybeRobber; __gnu_cxx::hash_map _winningPlans; + std::string _robber; }; #endif