Fixed incorrect auxiliary rule for derived predicates.
This commit is contained in:
parent
6355921e59
commit
66cb09c8e4
@ -244,7 +244,7 @@ void TranslatorASP::translateDerivedPredicates() const
|
||||
<< output::Function("contains") << "("
|
||||
<< output::Keyword("derivedVariable") << "(" << output::Variable("X") << "), "
|
||||
<< output::Keyword("value") << "(" << output::Variable("X") << ", " << output::Variable("B") << ")) :- "
|
||||
<< output::Function("variable") << "(" << output::Keyword("derivedVariable") << "(" << output::Variable("X") << ")), "
|
||||
<< output::Function("derivedVariable") << "(" << output::Keyword("derivedVariable") << "(" << output::Variable("X") << ")), "
|
||||
<< output::Function("boolean") << "(" << output::Variable("B") << ")."
|
||||
<< std::endl;
|
||||
}
|
||||
|
Reference in New Issue
Block a user