clingo
|
#include <literals.hh>
Public Member Functions | |
PredicateLiteral (PredicateDomain &dom, NAF naf, UTerm &&repr) | |
virtual void | print (std::ostream &out) const |
virtual UGTerm | getRepr () const |
virtual bool | isPositive () const |
virtual bool | isNegative () const |
virtual void | setType (OccurrenceType x) |
virtual OccurrenceType | getType () const |
virtual bool | isRecursive () const |
virtual BodyOcc * | occurrence () |
virtual void | collect (VarTermBoundVec &vars) const |
virtual DefinedBy & | definedBy () |
virtual UIdx | index (Scripts &scripts, BinderType type, Term::VarSet &bound) |
virtual Output::Literal * | toOutput () |
virtual Score | score (Term::VarSet const &bound) |
virtual void | checkDefined (LocSet &done, SigSet const &edb, UndefVec &undef) const |
virtual | ~PredicateLiteral () |
Public Member Functions inherited from Gringo::Ground::Literal | |
virtual void | collectImportant (Term::VarSet &vars) |
virtual | ~Literal () |
Public Member Functions inherited from Gringo::Printable | |
virtual | ~Printable () |
Public Member Functions inherited from Gringo::Ground::BodyOccurrence< HeadOcc > | |
virtual | ~BodyOccurrence () |
Public Attributes | |
OccurrenceType | type = OccurrenceType::POSITIVELY_STRATIFIED |
UTerm | repr |
DefinedBy | defs |
PredicateDomain & | domain |
Output::PredicateLiteral | gLit |
Additional Inherited Members | |
Public Types inherited from Gringo::Ground::Literal | |
using | SValVec = Instantiator::SValVec |
using | Score = double |
Public Types inherited from Gringo::Ground::BodyOccurrence< HeadOcc > | |
typedef std::vector < std::reference_wrapper < HeadOcc > > | DefinedBy |
Gringo::Ground::PredicateLiteral::PredicateLiteral | ( | PredicateDomain & | dom, |
NAF | naf, | ||
UTerm && | repr | ||
) |
|
virtual |
|
virtual |
Implements Gringo::Ground::Literal.
|
virtual |
Implements Gringo::Ground::BodyOccurrence< HeadOcc >.
|
virtual |
Implements Gringo::Ground::BodyOccurrence< HeadOcc >.
|
virtual |
Implements Gringo::Ground::BodyOccurrence< HeadOcc >.
|
virtual |
Implements Gringo::Ground::Literal.
Reimplemented in Gringo::Ground::ProjectionLiteral.
|
virtual |
Implements Gringo::Ground::BodyOccurrence< HeadOcc >.
|
virtual |
Implements Gringo::Ground::BodyOccurrence< HeadOcc >.
|
virtual |
Implements Gringo::Ground::Literal.
|
virtual |
Implements Gringo::Ground::Literal.
|
virtual |
Implements Gringo::Printable.
|
virtual |
|
virtual |
Implements Gringo::Ground::BodyOccurrence< HeadOcc >.
|
virtual |
DefinedBy Gringo::Ground::PredicateLiteral::defs |
PredicateDomain& Gringo::Ground::PredicateLiteral::domain |
Output::PredicateLiteral Gringo::Ground::PredicateLiteral::gLit |
UTerm Gringo::Ground::PredicateLiteral::repr |
OccurrenceType Gringo::Ground::PredicateLiteral::type = OccurrenceType::POSITIVELY_STRATIFIED |