clingo
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups
Public Types | Public Member Functions | Public Attributes | List of all members
Gringo::Output::WeightRule Struct Reference

#include <statements.hh>

Inheritance diagram for Gringo::Output::WeightRule:
Inheritance graph
Collaboration diagram for Gringo::Output::WeightRule:
Collaboration graph

Public Types

using ULitBoundVec = std::vector< std::pair< ULit, unsigned >>
 

Public Member Functions

 WeightRule (SAuxAtom head, unsigned lower, ULitBoundVec &&body)
 
virtual void printPlain (std::ostream &out) const
 
virtual void toLparse (LparseTranslator &x)
 
virtual void printLparse (LparseOutputter &out) const
 
virtual WeightRuleclone () const
 
virtual bool isIncomplete () const
 
virtual ~WeightRule ()
 
- Public Member Functions inherited from Gringo::Output::Statement
virtual ~Statement ()
 
- Public Member Functions inherited from Gringo::Clonable< Statement >
virtual ~Clonable ()
 

Public Attributes

SAuxAtom head
 
ULitBoundVec body
 
unsigned lower
 

Member Typedef Documentation

using Gringo::Output::WeightRule::ULitBoundVec = std::vector<std::pair<ULit, unsigned>>

Constructor & Destructor Documentation

Gringo::Output::WeightRule::WeightRule ( SAuxAtom  head,
unsigned  lower,
ULitBoundVec &&  body 
)
Gringo::Output::WeightRule::~WeightRule ( )
virtual

Member Function Documentation

WeightRule * Gringo::Output::WeightRule::clone ( ) const
virtual

Implements Gringo::Clonable< Statement >.

Here is the call graph for this function:

bool Gringo::Output::WeightRule::isIncomplete ( ) const
virtual
void Gringo::Output::WeightRule::printLparse ( LparseOutputter out) const
virtual

Implements Gringo::Output::Statement.

Here is the call graph for this function:

void Gringo::Output::WeightRule::printPlain ( std::ostream &  out) const
virtual
void Gringo::Output::WeightRule::toLparse ( LparseTranslator x)
virtual

Implements Gringo::Output::Statement.

Here is the call graph for this function:

Member Data Documentation

ULitBoundVec Gringo::Output::WeightRule::body
SAuxAtom Gringo::Output::WeightRule::head
unsigned Gringo::Output::WeightRule::lower

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