clingo
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups
Public Types | Public Member Functions | List of all members
Gringo::Ground::Literal Struct Referenceabstract

#include <literal.hh>

Inheritance diagram for Gringo::Ground::Literal:
Inheritance graph
Collaboration diagram for Gringo::Ground::Literal:
Collaboration graph

Public Types

using SValVec = Instantiator::SValVec
 
using Score = double
 

Public Member Functions

virtual bool isRecursive () const =0
 
virtual UIdx index (Scripts &scripts, BinderType type, Term::VarSet &bound)=0
 
virtual BodyOccoccurrence ()=0
 
virtual void collect (VarTermBoundVec &vars) const =0
 
virtual void collectImportant (Term::VarSet &vars)
 
virtual Output::LiteraltoOutput ()=0
 
virtual Score score (Term::VarSet const &bound)=0
 
virtual ~Literal ()
 
- Public Member Functions inherited from Gringo::Printable
virtual void print (std::ostream &out) const =0
 
virtual ~Printable ()
 

Member Typedef Documentation

Constructor & Destructor Documentation

virtual Gringo::Ground::Literal::~Literal ( )
inlinevirtual

Member Function Documentation

virtual void Gringo::Ground::Literal::collect ( VarTermBoundVec vars) const
pure virtual
void Gringo::Ground::Literal::collectImportant ( Term::VarSet vars)
virtual

Reimplemented in Gringo::Ground::CSPLiteral.

Here is the call graph for this function:

virtual UIdx Gringo::Ground::Literal::index ( Scripts scripts,
BinderType  type,
Term::VarSet bound 
)
pure virtual
virtual bool Gringo::Ground::Literal::isRecursive ( ) const
pure virtual
virtual BodyOcc* Gringo::Ground::Literal::occurrence ( )
pure virtual
virtual Score Gringo::Ground::Literal::score ( Term::VarSet const &  bound)
pure virtual
virtual Output::Literal* Gringo::Ground::Literal::toOutput ( )
pure virtual

The documentation for this struct was generated from the following files: