#include "planner.h"
+#include "node.h"
+using namespace std;
+Planner::Planner(std::vector<Action> actions, literals init, literals goal){
+ _start = new Node(Action("",init, literals()));
+ Node* finish = new Node(Action("",literals(),goal));
+
+ for(vector<Action>::iterator action = actions.begin(); action != actions.end(); ++action){
+ literals preconds = action->preconditions();
+ for (literals::iterator effect = preconds.begin(); effect != preconds.end(); ++effect){
+ _actions[*effect] = *action;
+ }
+ }
+}
+
+
+void Planner::makePlan(Node* node){
+}