souffle
2.0.2-371-g6315b36
|
Abstract class for a choice operation. More...
#include <AbstractChoice.h>
Public Member Functions | |
AbstractChoice (Own< Condition > cond) | |
void | apply (const NodeMapper &map) |
std::vector< const Node * > | getChildNodes () const |
const Condition & | getCondition () const |
Getter for the condition. More... | |
Protected Member Functions | |
bool | equal (const Node &node) const |
Protected Attributes | |
Own< Condition > | condition |
Condition for which a tuple in the relation may hold. More... | |
Abstract class for a choice operation.
Finding a single tuple, if it exists, such that a condition holds.
Definition at line 38 of file AbstractChoice.h.
|
inline |
Definition at line 50 of file AbstractChoice.h.
References condition.
|
inlineprotected |
Definition at line 59 of file AbstractChoice.h.
|
inline |
Definition at line 54 of file AbstractChoice.h.
References condition, and souffle::equal_ptr().
Referenced by souffle::ram::Choice::clone().
|
inline |
Getter for the condition.
Definition at line 45 of file AbstractChoice.h.
References condition, and souffle::map().
Condition for which a tuple in the relation may hold.
Definition at line 65 of file AbstractChoice.h.
Referenced by AbstractChoice(), apply(), getChildNodes(), getCondition(), and souffle::ram::ParallelChoice::ParallelChoice().