Wrapped translated SAS axiom rule definitions for usability in meta encodings.
This commit is contained in:
parent
36e517bd80
commit
378b2ae673
@ -251,7 +251,12 @@ void TranslatorASP::translateAxiomRules() const
|
|||||||
const auto axiomRuleID = std::to_string(currentAxiomRuleID);
|
const auto axiomRuleID = std::to_string(currentAxiomRuleID);
|
||||||
currentAxiomRuleID++;
|
currentAxiomRuleID++;
|
||||||
|
|
||||||
m_outputStream << std::endl << utils::Keyword("axiomRule") << "(" << utils::Number(axiomRuleID) << ")." << std::endl;
|
m_outputStream
|
||||||
|
<< std::endl
|
||||||
|
<< utils::Keyword("axiomRule") << "("
|
||||||
|
<< utils::Keyword("axiomRule") << "("
|
||||||
|
<< utils::Number(axiomRuleID)
|
||||||
|
<< "))." << std::endl;
|
||||||
|
|
||||||
const auto &conditions = axiomRule.conditions();
|
const auto &conditions = axiomRule.conditions();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user