]> ruin.nu Git - icfp05.git/blobdiff - robber/robber.h
more sane shortest path implementation and more tuning of the robber algorithm
[icfp05.git] / robber / robber.h
index 11f5668d0b5c61db93fc7c1cb205c7600069a5fd..5dea90a2e251608abf0107ea41ae6bf3ff84ace1 100644 (file)
@@ -5,8 +5,12 @@
 
 class Robber : public Bot {
        public:
-               Robber(std::string name):Bot(name,"robber"){};
+               Robber(std::string name):Bot(name,robber){};
                
                std::string turn();
+
+       protected:
+               std::string _oldLocation;
+               std::string _maybeNextLocation;
 };
 #endif