X-Git-Url: https://ruin.nu/git/?a=blobdiff_plain;f=node.cpp;h=83b3334a7dab9b6095e1d1907a35ac808d9d6bc9;hb=921850c029bdaad568b0e40969b0805df785b72a;hp=b4d22fb9569c28cea70176abce6ce585c2b8b8c1;hpb=76a6e62c0a20bebba4c828f528f118a1f789b593;p=popboot.git diff --git a/node.cpp b/node.cpp index b4d22fb..83b3334 100644 --- a/node.cpp +++ b/node.cpp @@ -70,7 +70,7 @@ StartNode::StartNode(const Literals& init){ EndNode::EndNode(const Literals& goal){ Preconditions goalState; for(Literals::const_iterator g = goal.begin(); g != goal.end(); ++g) - goalState[*g] = true; + goalState[*g] = false; _action = new Action("finish",goalState,"",EffectsMap()); _preconditions = _action->preconditions(); }