Showing action cost predicates unconditionally for easier handling in meta encodings.
This commit is contained in:
parent
ac354d512c
commit
ee0b446230
@ -153,12 +153,9 @@ void TranslatorASP::translate(std::ostream &ostream) const
|
||||
currentEffectID++;
|
||||
});
|
||||
|
||||
if (usesActionCosts)
|
||||
{
|
||||
ostream << "costs(";
|
||||
operator_.printPredicateAsASP(ostream);
|
||||
ostream << ", " << operator_.costs() << ")." << std::endl;
|
||||
}
|
||||
ostream << "costs(";
|
||||
operator_.printPredicateAsASP(ostream);
|
||||
ostream << ", " << operator_.costs() << ")." << std::endl;
|
||||
});
|
||||
|
||||
ostream << std::endl;
|
||||
|
Reference in New Issue
Block a user