CIFQuickAndDirtyHunter Class

# CIFQuickAndDirtyHunter Class Reference

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

A PicHunter like scheme, implemented using More...

`#include <../libBayesian/include/CIFQuickAndDirtyHunter.h>`

Inherits: CQuery

## Public Members

- CIFQuickAndDirtyHunter (CAccessorCollection& inAccessorCollection, CAlgorithm& inAlgorithm)
- void init ()
- bool setCollection (class CAccessorProxy& inCollection)
- bool setAlgorithm (class CAlgorithm& inAlgorithm)
- virtual CIDRelevanceLevelPairList* fastQuery (const CXMLElement& inQuery, int inNumberOfInterestingImages, double inDifferenceToBest)
- void setSquasher (CSquasher* inSquasher)
- void setNumberOfTries (int inNumberOfTries)
- void setPositiveThreshold (double inPositiveThreshold)
- void setNegativeThreshold (double inNegativeThreshold)
- void setDepthOfMemory (int inDepthOfMemory)
- void setForgetAfterNthInconsistency (int inFANI)
- void makeEmptySet (CProbabilisticSet<int>& inoutSet)
- bool getFeedbackList (TID inTargetID, CRelevanceLevelList& outUserFeedback, const CRelevanceLevelList& inSuggestion)

## Protected Members

- int mNumberOfImages
- int mNumberOfTries
- double mPositiveThreshold
- double mNegativeThreshold

## Detailed Description

@name CIFQuickAndDirtyHunter distance matrices for efficiency reasons

modification history:

WM : Created in April 1999 submitted to CVS in

compiler defines used:

## CIFQuickAndDirtyHunter(CAccessorCollection& inAccessorCollection, CAlgorithm& inAlgorithm)

constructor

## void init()

initialize: common parts between constructors

## bool setCollection(class CAccessorProxy& inCollection)

Setting the collection, i.e. distance matrix and accessor

## bool setAlgorithm(class CAlgorithm& inAlgorithm)

Setting the algorithm, i.e. the squasher/feedback method etc.

## virtual CIDRelevanceLevelPairList* fastQuery(const CXMLElement& inQuery, int inNumberOfInterestingImages, double inDifferenceToBest)

instead of URL/RelevanceLevel pairs In fact, this not a query, but it takes feedback and gives a suggestion

## bool getFeedbackList(TID inTargetID, CRelevanceLevelList.html">CRelevanceLevelList& outUserFeedback, const CRelevanceLevelList.html">CRelevanceLevelList& inSuggestion)

functions for performing pseudo feedback

| Kdoc