2 #ifndef _CQUERYTREENODE
3 #define _CQUERYTREENODE
4 #include "libMRML/include/uses-declarations.h"
5 #include "libMRML/include/CQuery.h"
7 #ifdef LINK_DYNAMICALLY
8 #include "libMRML/include/CDynamicQueryFactory.h"
10 #include "libMRML/include/CStaticQueryFactory.h"
13 #include "libMRML/include/CSelfDestroyPointer.h"
14 #include "libMRML/include/CMagic.h"
28 typedef list<pair<CQueryTreeNode*,double> > CChildren;
64 int inNumberOfInterestingImages,
65 double inDifferenceToBest);
void addChild(CQueryTreeNode *inChild, double inWeight=1)
a query which returns ID/RelevanceLevel pairs instead of instead of URL/RelevanceLevel pairs ...
Definition: CIDRelevanceLevelPairList.h:52
virtual CIDRelevanceLevelPairList * fastQuery(const CXMLElement &inQuery, int inNumberOfInterestingImages, double inDifferenceToBest)
a query which returns ID/RelevanceLevel pairs instead of instead of URL/RelevanceLevel pairs ...
CQueryTreeNode()
Construct this.
This class captures the structure of an XML element.
Definition: CXMLElement.h:51
This class does nothing but wrap the current query interface in a way, that it can be used with CORBA...
Definition: CQueryTreeNode.h:24
An algorithm is a CXMLElement which is linked to a CSessionManager together they are able to build CQ...
Definition: CAlgorithm.h:43
The Query manager for Queries on inverted Files.
Definition: CQuery.h:73
A factory for base types of algorithms.
Definition: CStaticQueryFactory.h:38
~CQueryTreeNode()
Destruct this: delete all the children of this.
This is in fact a collection of collections.
Definition: CAccessorAdminCollection.h:39
virtual CXMLElement * query(const CXMLElement &inQuery)
do a query
void configure(CXMLElement &inAlgorithm, CAccessorAdminCollection &inAccessors, CStaticQueryFactory &inBaseTypeFactory)
Configure this.
This is a simple class for debugging.
Definition: CMagic.h:12