Showing action cost predicates unconditionally for easier handling in meta encodings.

This commit is contained in:
Patrick Lühne 2016-05-24 01:54:57 +02:00
parent ac354d512c
commit ee0b446230

View File

@ -153,12 +153,9 @@ void TranslatorASP::translate(std::ostream &ostream) const
currentEffectID++; currentEffectID++;
}); });
if (usesActionCosts)
{
ostream << "costs("; ostream << "costs(";
operator_.printPredicateAsASP(ostream); operator_.printPredicateAsASP(ostream);
ostream << ", " << operator_.costs() << ")." << std::endl; ostream << ", " << operator_.costs() << ")." << std::endl;
}
}); });
ostream << std::endl; ostream << std::endl;