]> ruin.nu Git - popboot.git/blobdiff - node.h
parallell
[popboot.git] / node.h
diff --git a/node.h b/node.h
index 272bee93bc565977f03a9499f8d02f8255ed7831..669657dd3e8ae373850e5c7967d9db6a3fbb6cbe 100644 (file)
--- a/node.h
+++ b/node.h
@@ -14,10 +14,12 @@ class Node {
                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;