]> ruin.nu Git - popboot.git/blobdiff - planner.h
not working
[popboot.git] / planner.h
index c74d536b5e5d03ac7f439921bd06a6793c2b715b..bb6836a269d23bf0ff8a85c9451dca6d40143abe 100644 (file)
--- a/planner.h
+++ b/planner.h
@@ -39,6 +39,9 @@ size_t operator()(const std::basic_string<CharT, Traits, Alloc>& s) const {
 class Planner {
        public:
                Planner(std::vector<Action> actions, literals init, literals goal);
+               ~Planner();
+
+               void execute();
 
        protected:
 
@@ -47,6 +50,8 @@ class Planner {
                
                Node* _start;
                __gnu_cxx::hash_map<std::string,Node*> _addedNodes;
-               __gnu_cxx::hash_map<std::string,Action> _actions;
+               __gnu_cxx::hash_map<std::string,Action*> _actions;
+               literals _init;
+               literals _goal;
 };
 #endif