Wrapped translated SAS mutex group definitions for usability in meta encodings.

This commit is contained in:
Patrick Lühne 2016-08-13 01:41:55 +02:00
parent 569b3d0c97
commit 36e517bd80

View File

@ -210,7 +210,12 @@ void TranslatorASP::translateMutexes() const
const auto mutexGroupID = std::to_string(currentMutexGroupID); const auto mutexGroupID = std::to_string(currentMutexGroupID);
currentMutexGroupID++; currentMutexGroupID++;
m_outputStream << std::endl << utils::Keyword("mutexGroup") << "(" << utils::Number(mutexGroupID) << ")." << std::endl; m_outputStream
<< std::endl
<< utils::Keyword("mutexGroup") << "("
<< utils::Keyword("mutexGroup") << "("
<< utils::Number(mutexGroupID)
<< "))." << std::endl;
const auto &facts = mutexGroup.facts(); const auto &facts = mutexGroup.facts();