EndNode::EndNode(const Literals& goal){
Preconditions goalState;
for(Literals::const_iterator g = goal.begin(); g != goal.end(); ++g)
EndNode::EndNode(const Literals& goal){
Preconditions goalState;
for(Literals::const_iterator g = goal.begin(); g != goal.end(); ++g)
_action = new Action("finish",goalState,"",EffectsMap());
_preconditions = _action->preconditions();
}
_action = new Action("finish",goalState,"",EffectsMap());
_preconditions = _action->preconditions();
}