Wrapped translated PDDL constant definitions for usability in meta encodings.
This commit is contained in:
parent
b30cecd297
commit
6960e8a8c7
@ -297,8 +297,11 @@ void TranslatorASP::translateConstants(const std::string &heading, const express
|
|||||||
{
|
{
|
||||||
const auto constantName = utils::escapeASP(constant->name());
|
const auto constantName = utils::escapeASP(constant->name());
|
||||||
|
|
||||||
m_outputStream << std::endl << utils::Keyword("constant")
|
m_outputStream << std::endl
|
||||||
<< "(" << constantName << ")." << std::endl;
|
<< utils::Keyword("constant") << "("
|
||||||
|
<< utils::Keyword("constant") << "("
|
||||||
|
<< constantName
|
||||||
|
<< "))." << std::endl;
|
||||||
|
|
||||||
const auto *type = constant->type();
|
const auto *type = constant->type();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user