Wrapped translated SAS action definitions for usability in meta encodings.
This commit is contained in:
parent
daf68d24ab
commit
569b3d0c97
@ -136,9 +136,9 @@ void TranslatorASP::translateActions() const
|
||||
std::for_each(operators.cbegin(), operators.cend(),
|
||||
[&](const auto &operator_)
|
||||
{
|
||||
m_outputStream << std::endl;
|
||||
m_outputStream << std::endl << utils::Keyword("action") << "(";
|
||||
operator_.printPredicateAsASP(m_outputStream);
|
||||
m_outputStream << "." << std::endl;
|
||||
m_outputStream << ")." << std::endl;
|
||||
|
||||
const auto &preconditions = operator_.preconditions();
|
||||
|
||||
|
Reference in New Issue
Block a user