#include "action.h"
+#include <iostream>
+using namespace std;
+Action::Action(std::string executable, literals preconditions, literals effects){
+ _executable = executable;
+ _preconditions = preconditions;
+ _effects = effects;
+}
+Action::Action(const Action& action){
+ _executable = action._executable;
+ _preconditions = action._preconditions;
+ _effects = action._effects;
+}
+
+literals Action::effects() const{
+ return _effects;
+}
+
+literals Action::preconditions() const{
+ return _preconditions;
+}
+
+int Action::execute() const{
+ cout << "Executing: " << _executable << endl;
+ return 0;
+}