souffle
2.0.2-371-g6315b36
|
Emptiness check for a relation. More...
#include <EmptinessCheck.h>
Public Member Functions | |
EmptinessCheck * | clone () const override |
Create a clone (i.e. More... | |
EmptinessCheck (std::string rel) | |
const std::string & | getRelation () const |
Get relation. More... | |
Public Member Functions inherited from souffle::ram::Node | |
virtual void | apply (const NodeMapper &) |
Apply the mapper to all child nodes. More... | |
virtual std::vector< const Node * > | getChildNodes () const |
Obtain list of all embedded child nodes. More... | |
bool | operator!= (const Node &other) const |
Inequality check for two RAM nodes. More... | |
bool | operator== (const Node &other) const |
Equivalence check for two RAM nodes. More... | |
virtual void | rewrite (const Node *oldNode, Own< Node > newNode) |
Rewrite a child node. More... | |
virtual | ~Node ()=default |
Protected Member Functions | |
bool | equal (const Node &node) const override |
Equality check for two RAM nodes. More... | |
void | print (std::ostream &os) const override |
Print RAM node. More... | |
Protected Attributes | |
const std::string | relation |
Relation. More... | |
Emptiness check for a relation.
Evaluates to true if the given relation is the empty set
For example:
Definition at line 53 of file EmptinessCheck.h.
|
inline |
|
inlineoverridevirtual |
Create a clone (i.e.
deep copy) of this node
Implements souffle::ram::Condition.
Definition at line 62 of file EmptinessCheck.h.
|
inlineoverrideprotectedvirtual |
Equality check for two RAM nodes.
Default action is that nothing needs to be checked.
Reimplemented from souffle::ram::Node.
Definition at line 71 of file EmptinessCheck.h.
|
inline |
|
inlineoverrideprotectedvirtual |
|
protected |
Definition at line 77 of file EmptinessCheck.h.
Referenced by EmptinessCheck(), and getRelation().