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;
- __gnu_cxx::hash_map<std::string,Action> _actions;
+ __gnu_cxx::hash_map<std::string,Action*> _actions;
+ literals _init;
+ literals _goal;
};
#endif