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++;
|
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;
|
||||||
|
Reference in New Issue
Block a user