]> ruin.nu Git - icfp05.git/blobdiff - newrobber/robber.h
initial implementation of new robber
[icfp05.git] / newrobber / robber.h
index 7624986cbbfa2a48a41a82156200aa4111910383..53b1e6ffca3e8f991e7e6d5b33e5f2e47f351b84 100644 (file)
@@ -2,16 +2,19 @@
 #define __ROBBER_H__
 
 #include "../botsrc/bot.h"
+#include <time.h>
 
 class Robber : public Bot {
        public:
                Robber(std::string name):Bot(name,robber){};
                
                std::string turn();
+               int cost(const std::string& from,const std::string& to) const;
+               int operator()(const SPInfo* node) const;
 
        protected:
                std::string _oldLocation;
-               std::string _maybeNextLocation;
                virtual void move(std::string location);
+               clock_t _time;
 };
 #endif