28 #include "libGIFTQuPerl/include/uses-declarations.h"
29 #ifdef __GIFT_WITH_PERL__
38 #undef list // perl lists
41 #include "libMRML/include/CQuery.h"
48 class CQPerl:
public CQuery{
58 SV* mPerlQueryProcessor;
61 string qualifyFunctionName(
const char* inName);
63 static PerlInterpreter* mPerl;
112 int inNumberOfInterestingImages,
113 double inDifferenceToBest);
virtual CIDRelevanceLevelPairList * getRandomIDs(int inNumberOfInterestingImages) const
get some random images (handed through to accessor)
virtual bool setAlgorithm(CAlgorithm &inAlgorithm)
set the Algorithm.
virtual CXMLElement * getRandomImages(int inNumberOfInterestingImages) const
get some random images (handed through to accessor)
Definition: CIDRelevanceLevelPairList.h:52
This class captures the structure of an XML element.
Definition: CXMLElement.h:51
virtual list< CAccessorElement > * getAllAccessorElements() const
get the IDs of all images (handed through to accessor)
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
virtual CXMLElement * query(const CXMLElement &inQuery)
do a query
virtual CIDRelevanceLevelPairList * fastQuery(const CXMLElement &inQuery, int inNumberOfInterestingImages, double inDifferenceToBest)=0
a query which returns ID/RelevanceLevel pairs instead of instead of URL/RelevanceLevel pairs ...
This is in fact a collection of collections.
Definition: CAccessorAdminCollection.h:39
virtual void init()=0
Initializer, used by both construcors.
virtual list< TID > * getAllIDs() const
get the IDs of all images (handed through to accessor)