Wrapped translated PDDL action definitions for usability in meta encodings.

This commit is contained in:
Patrick Lühne 2016-08-13 03:11:38 +02:00
parent 6960e8a8c7
commit 1f35bda3d2

View File

@ -224,7 +224,9 @@ void TranslatorASP::translateActions() const
m_outputStream << std::endl; m_outputStream << std::endl;
// Name // Name
m_outputStream << utils::Keyword("action") << "(";
printActionName(*action); printActionName(*action);
m_outputStream << ")";
this->translateVariablesBody(action->parameters()); this->translateVariablesBody(action->parameters());