public:
Node(Action action);
void addChild(Node* node);
- Action action();
- void execute();
+ const Action& action() const;
+ void execute(const literals& effects);
protected:
Action _action;
std::vector<Node*> _children;
+ literals _preconditions;
};
#endif