patrick
/
plasp
Archived
1
0
Fork 0

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
1 changed files with 3 additions and 6 deletions

View File

@ -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;