]> ruin.nu Git - popboot.git/blobdiff - planner.h
Might be good to have a destructor too
[popboot.git] / planner.h
index 7932eb9251814908502d07b197c198d5bed9f712..ab8f4ee27774f4df9e13283a67b1c744619a18f5 100644 (file)
--- a/planner.h
+++ b/planner.h
@@ -39,10 +39,14 @@ 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:
 
                void makePlan(Node* node);
+               void addNode(Node* node);
                
                Node* _start;
                __gnu_cxx::hash_map<std::string,Node*> _addedNodes;