clingo
|
#include <terms.hh>
Public Types | |
using | Terms = std::vector< CSPMulTerm > |
Public Member Functions | |
CSPAddTerm (CSPMulTerm &&x) | |
CSPAddTerm (CSPAddTerm &&x) | |
CSPAddTerm (Terms &&terms) | |
CSPAddTerm & | operator= (CSPAddTerm &&x) |
void | append (CSPMulTerm &&x) |
void | simplify (Term::DotsMap &dots, Term::ScriptMap &scripts, unsigned &auxNum) |
void | collect (VarTermBoundVec &vars) const |
void | collect (VarTermSet &vars) const |
void | replace (Defines &x) |
bool | operator== (CSPAddTerm const &x) const |
void | rewriteArithmetics (Term::ArithmeticsMap &arith, unsigned &auxNum) |
std::vector< CSPAddTerm > | unpool () const |
size_t | hash () const |
bool | hasPool () const |
void | toGround (CSPGroundLit &ground, bool invert) const |
~CSPAddTerm () | |
Public Attributes | |
Terms | terms |
using Gringo::CSPAddTerm::Terms = std::vector<CSPMulTerm> |
Gringo::CSPAddTerm::CSPAddTerm | ( | CSPMulTerm && | x | ) |
|
default |
Gringo::CSPAddTerm::CSPAddTerm | ( | Terms && | terms | ) |
Gringo::CSPAddTerm::~CSPAddTerm | ( | ) |
void Gringo::CSPAddTerm::append | ( | CSPMulTerm && | x | ) |
void Gringo::CSPAddTerm::collect | ( | VarTermBoundVec & | vars | ) | const |
void Gringo::CSPAddTerm::collect | ( | VarTermSet & | vars | ) | const |
size_t Gringo::CSPAddTerm::hash | ( | ) | const |
bool Gringo::CSPAddTerm::hasPool | ( | ) | const |
|
default |
bool Gringo::CSPAddTerm::operator== | ( | CSPAddTerm const & | x | ) | const |
void Gringo::CSPAddTerm::replace | ( | Defines & | x | ) |
void Gringo::CSPAddTerm::rewriteArithmetics | ( | Term::ArithmeticsMap & | arith, |
unsigned & | auxNum | ||
) |
void Gringo::CSPAddTerm::simplify | ( | Term::DotsMap & | dots, |
Term::ScriptMap & | scripts, | ||
unsigned & | auxNum | ||
) |
void Gringo::CSPAddTerm::toGround | ( | CSPGroundLit & | ground, |
bool | invert | ||
) | const |
std::vector< CSPAddTerm > Gringo::CSPAddTerm::unpool | ( | ) | const |
Terms Gringo::CSPAddTerm::terms |