virtual ~Node(){}
void addChild(Node* node);
const Action* action() const;
- void execute(const Literals& effects);
+ void execute();
bool executed() const;
const Literals& effects() const;
- void satisfyCondition(std::string effect);
+ bool satisfyCondition(std::string effect);
+ bool satisfyConditions(const Literals& effects);
+ const std::vector<Node*>& children() const;
protected:
const Action* _action;