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();
}