SNAP Library 4.1, User Reference
2018-07-26 16:30:42
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
|
Predicate node - represents a binary predicate operation on two predicate nodes. More...
#include <table.h>
Public Member Functions | |
TPredicateNode () | |
Default constructor. More... | |
TPredicateNode (const TAtomicPredicate &A) | |
Constructor for atomic predicate node (leaf) More... | |
TPredicateNode (TPredOp Opr) | |
Constructor for logical operation predicate node (internal node) More... | |
TPredicateNode (const TPredicateNode &P) | |
Copy constructor. More... | |
void | AddLeftChild (TPredicateNode *Child) |
Add left child to this node. More... | |
void | AddRightChild (TPredicateNode *Child) |
Add right child to this node. More... | |
void | GetVariables (TStrV &Variables) |
Get variables in the predicate tree rooted at this node. More... | |
Public Attributes | |
TPredOp | Op |
Logical op represented by this node. More... | |
TBool | Result |
Result of evaulating the predicate rooted at this node. More... | |
TAtomicPredicate | Atom |
Atomic predicate at this node. More... | |
TPredicateNode * | Parent |
Parent node of this node. More... | |
TPredicateNode * | Left |
Left child of this node. More... | |
TPredicateNode * | Right |
Friends | |
class | TPredicate |
Predicate node - represents a binary predicate operation on two predicate nodes.
|
inline |
Default constructor.
Definition at line 60 of file table.h.
|
inline |
Constructor for atomic predicate node (leaf)
Definition at line 63 of file table.h.
|
inline |
Constructor for logical operation predicate node (internal node)
Definition at line 66 of file table.h.
|
inline |
Copy constructor.
Definition at line 69 of file table.h.
|
inline |
|
inline |
void TPredicateNode::GetVariables | ( | TStrV & | Variables | ) |
Get variables in the predicate tree rooted at this node.
Definition at line 1 of file table.cpp.
|
friend |
TAtomicPredicate TPredicateNode::Atom |
TPredicateNode* TPredicateNode::Left |
TPredOp TPredicateNode::Op |
TPredicateNode* TPredicateNode::Parent |
TBool TPredicateNode::Result |
TPredicateNode* TPredicateNode::Right |