X-Git-Url: https://ruin.nu/git/?a=blobdiff_plain;f=planner.h;h=ab8f4ee27774f4df9e13283a67b1c744619a18f5;hb=7b9821d42d980e5788bbc65563973eddd6e4c40d;hp=7932eb9251814908502d07b197c198d5bed9f712;hpb=dc49c0c521090f0eb4b9692b25a129537c07e19e;p=popboot.git diff --git a/planner.h b/planner.h index 7932eb9..ab8f4ee 100644 --- a/planner.h +++ b/planner.h @@ -39,10 +39,14 @@ size_t operator()(const std::basic_string& s) const { class Planner { public: Planner(std::vector actions, literals init, literals goal); + ~Planner(); + + void execute(); protected: void makePlan(Node* node); + void addNode(Node* node); Node* _start; __gnu_cxx::hash_map _addedNodes;