#ifndef __ACTION_H__
#define __ACTION_H__
+typedef literals std::vector<string>;
+
class Action {
+ public:
+ Action(std::string executable, literals preconditions, literals effects);
+ const literals effects() const;
+ const literals preconditions() const;
+ int execute() const;
protected:
- std::string executable;
- std::vector<string> preconditions;
- std::vector<string> effects;
-
+ std::string _executable;
+ literals _preconditions;
+ literals _effects;
};
#endif