#include <literals.hh>
Gringo::Input::FalseLiteral::FalseLiteral |
( |
| ) |
|
Gringo::Input::FalseLiteral::~FalseLiteral |
( |
| ) |
|
|
virtual |
void Gringo::Input::FalseLiteral::collect |
( |
VarTermBoundVec & |
vars, |
|
|
bool |
bound |
|
) |
| const |
|
virtual |
Collects variables.
- Precondition
- Must be called after simplify to properly account for bound variables.
Implements Gringo::Input::Literal.
size_t Gringo::Input::FalseLiteral::hash |
( |
| ) |
const |
|
inlinevirtual |
bool Gringo::Input::FalseLiteral::hasPool |
( |
bool |
beforeRewrite | ) |
const |
|
inlinevirtual |
UTerm Gringo::Input::FalseLiteral::headRepr |
( |
| ) |
const |
|
virtual |
bool Gringo::Input::FalseLiteral::operator== |
( |
Literal const & |
other | ) |
const |
|
inlinevirtual |
void Gringo::Input::FalseLiteral::print |
( |
std::ostream & |
out | ) |
const |
|
inlinevirtual |
void Gringo::Input::FalseLiteral::replace |
( |
Defines & |
dx | ) |
|
|
inlinevirtual |
Removes non-invertible arithmetics.
- Note
- This method will not be called for head literals.
Implements Gringo::Input::Literal.
ULit Gringo::Input::FalseLiteral::shift |
( |
bool |
negate | ) |
|
|
virtual |
void Gringo::Input::FalseLiteral::toTuple |
( |
UTermVec & |
tuple, |
|
|
int & |
id |
|
) |
| |
|
virtual |
ULitVec Gringo::Input::FalseLiteral::unpool |
( |
bool |
beforeRewrite | ) |
const |
|
virtual |
Removes all occurrences of PoolTerm instances. Returns all unpooled incarnations of the literal.
- Note
- The literal becomes unusable after the method returns.
- Postcondition
- The returned pool does not contain PoolTerm instances.
Implements Gringo::Input::Literal.
The documentation for this struct was generated from the following files:
- /Users/danielbaeck/Dropbox/Uni Klagenfurt/Diplomarbeit/gringo44/libgringo/gringo/input/literals.hh
- /Users/danielbaeck/Dropbox/Uni Klagenfurt/Diplomarbeit/gringo44/libgringo/src/input/literals.cc