rasdaman complete source
|
#include <qtcondenseop.hh>
Public Member Functions | |
QtCondenseOp (Ops::OpType newOperation, const std::string &initIteratorName, QtOperation *mintervalExp, QtOperation *cellExp, QtOperation *condExp=NULL) | |
constructor getting iterator, minterval exp, cell exp, and cell condition exp (optional) More... | |
~QtCondenseOp () | |
virtual destructor More... | |
virtual QtNodeList * | getChilds (QtChildType flag) |
return childs of the node More... | |
virtual bool | equalMeaning (QtNode *node) |
test if the two nodes have an equal meaning in a subtree More... | |
virtual std::string | getSpelling () |
creates a unique name for a common subexpression More... | |
virtual void | setInput (QtOperation *inputOld, QtOperation *inputNew) |
method for query rewrite More... | |
void | optimizeLoad (QtTrimList *trimList) |
optimizing load access More... | |
virtual void | simplify () |
simplifies the tree More... | |
virtual bool | isCommutative () const |
returns FALSE saying that the operation IS NOT commutative More... | |
QtData * | evaluate (QtDataList *inputList) |
method for evaluating the node More... | |
virtual void | printTree (int tab, std::ostream &s=std::cout, QtChildType mode=QT_ALL_NODES) |
prints the tree More... | |
virtual void | printAlgebraicExpression (std::ostream &s=std::cout) |
prints the algebraic expression More... | |
virtual const QtNodeType | getNodeType () const |
method for identification of nodes More... | |
virtual const QtTypeElement & | checkType (QtTypeTuple *typeTuple=NULL) |
type checking of the subtree More... | |
QtOperation * | getCondOp () |
![]() | |
QtBinaryOperation () | |
default constructor More... | |
QtBinaryOperation (QtNode *node) | |
constructor getting the node to the parent More... | |
QtBinaryOperation (QtOperation *input1, QtOperation *input2) | |
constructor getting pointers to its operands More... | |
virtual | ~QtBinaryOperation () |
virtual destructor More... | |
virtual QtAreaType | getAreaType () |
test if the edge to the parent node is of type mdd or atomic More... | |
void | setInput1 (QtOperation *input) |
void | setInput2 (QtOperation *input) |
QtOperation * | getInput1 () |
QtOperation * | getInput2 () |
![]() | |
QtOperation () | |
default constructor More... | |
QtOperation (QtNode *parent) | |
constructor getting a pointer to the parent More... | |
virtual QtOperation * | getUniqueOrder (const QtNode::QtNodeType ID) |
for associative law More... | |
void | printTree (int tab, std::ostream &s, QtChildType mode=QT_ALL_NODES) |
prints the tree More... | |
void | printAlgebraicExpression (std::ostream &s) |
prints the algebraic expression More... | |
void | setDataStreamType (const QtTypeElement &type) |
const QtTypeElement & | getDataStreamType () const |
![]() | |
QtNode () | |
default constructor More... | |
QtNode (QtNode *node) | |
constructor getting a pointer to the parent More... | |
virtual | ~QtNode () |
destructor More... | |
bool | subtype (enum QtNodeType a, enum QtNodeType b) |
returns weather class b is a subtype of class a More... | |
QtNodeList * | getChild (const QtNodeType node, QtChildType flag=QT_DIRECT_CHILDS) |
return childs of a certain class More... | |
enum QtNodeType | getQtNodeTypeParent (enum QtNodeType) |
method for pre optimizations (basically load optimization) More... | |
QtNode * | getParent () const |
void | setParent (QtNode *node) |
const ParseInfo & | getParseInfo () |
void | setParseInfo (const ParseInfo &info) |
QtCondenseOp::QtCondenseOp | ( | Ops::OpType | newOperation, |
const std::string & | initIteratorName, | ||
QtOperation * | mintervalExp, | ||
QtOperation * | cellExp, | ||
QtOperation * | condExp = NULL |
||
) |
constructor getting iterator, minterval exp, cell exp, and cell condition exp (optional)
QtCondenseOp::~QtCondenseOp | ( | ) |
virtual destructor
|
virtual |
type checking of the subtree
Reimplemented from QtOperation.
test if the two nodes have an equal meaning in a subtree
Reimplemented from QtBinaryOperation.
|
virtual |
method for evaluating the node
Reimplemented from QtOperation.
|
virtual |
return childs of the node
Reimplemented from QtBinaryOperation.
|
inline |
|
inlinevirtual |
method for identification of nodes
Reimplemented from QtNode.
|
virtual |
creates a unique name for a common subexpression
Reimplemented from QtBinaryOperation.
|
virtual |
returns FALSE saying that the operation IS NOT commutative
Reimplemented from QtBinaryOperation.
|
virtual |
optimizing load access
Reimplemented from QtBinaryOperation.
|
virtual |
prints the algebraic expression
Implements QtNode.
|
virtual |
prints the tree
Reimplemented from QtBinaryOperation.
|
virtual |
method for query rewrite
Reimplemented from QtBinaryOperation.
|
virtual |
simplifies the tree
Reimplemented from QtBinaryOperation.