CQueryTreeBuilder Class

# CQueryTreeBuilder Class Reference

[CADIHash.h Index] [CADIHash.h Hierarchy]

This class builds and maintains a query tree More...

`#include <../libInvertedFile/include/CQueryTreeBuilder.h>`

## Public Members

- CQueryTreeBuilder ()
- pair<CQueryContainer*,CQueryTreeNode*> buildQueryTree (CAlgorithm& inAlgorithm, CAccessorCollection& inBaseConfiguration, CQueryContainer* inContainer=0)
- CQueryTreeNode* getQueryByID (const string& inID)

## Detailed Description

This class builds and maintains a query tree.

## pair<CQueryContainer*,CQueryTreeNode*> buildQueryTree(CAlgorithm& inAlgorithm, CAccessorCollection& inBaseConfiguration, CQueryContainer* inContainer=0)

Building a query tree out of the information we have gathered. true indicates success...

We do a post-order traversal of the tree of algorithms: At each level we construct the query of the children taking them as an argument for constructing the query of this.

## CQueryTreeNode* getQueryByID(const string& inID)

Getting a node of the tree by its

| Kdoc