|
Public Member Functions |
|
void | finishInit () |
| | finish the initialisation phase make the weighting function know who its normalizers are
|
| | CQInvertedFile (CAccessorAdminCollection &inAccessorAdminCollection, CAlgorithm &inAlgorithm) |
| | ~CQInvertedFile () |
| virtual bool | setAlgorithm (CAlgorithm &inAlgorithm) |
|
virtual CIDRelevanceLevelPairList * | fastQuery (const CXMLElement &inQuery, int inNumberOfInterestingImages, double inDifferenceToBest) |
| | a query which returns ID/RelevanceLevel pairs instead of instead of URL/RelevanceLevel pairs; this is faster for merging tasks (to explain the name) queries for URLs are answered by query (in herited)
|
| virtual CIDRelevanceLevelPairList * | fastQueryByFeature (const CWeightingFunctionPointerList &inQuery, int inNumberOfInterestingImages, double inDifferenceToBest) |
| double | DIDToScore (TID inDID, const CWeightingFunctionPointerHash &inQuery) const |
| double | URLToScore (const string &inURL, const CWeightingFunctionPointerHash &inQuery) const |
| double | FeatureListToScore (TID inDID, const CDocumentFrequencyList &inFeatureList, const CWeightingFunctionPointerHash &inQuery) const |
|
void | buildNormalizedQueryHash (const CRelevanceLevel &inQuery, CWeightingFunctionPointerHash &outQueryFeatureWeighters) const |
| void | activateBlockingFeatures () |
| void | releaseBlockingFeatures () |
| bool | featuresBlocked () const |
| void | blockFeatureGroup (const int featureNumber) |
| void | unblockFeatureGroup (const int featureNumber) |
| bool | isBlocked (const int featureNumber) const |
| void | releaseAllPrunings () |
| void | useFeaturePruning (double percentage) |
| void | releaseFeaturePruning () |
| void | useTimePruning (double inTimeCutoffPoint) |
| void | releaseTimePruning () |
| void | useScoreBoardPruning (double inCutAfterFraction, double inReduceToFactor) |
| void | releaseScoreBoardPruning () |
| void | useEvaluateAfterPruning () |
| void | releaseEvaluateAfterPruning () |
|
CWeighter & | getWeighter () |
| | For FerDeLance queries.
|
Public Attributes |
|
bool | mBlockingOn |
|
bool | mBlockingArray [MAXIMUMNUMBEROFEATUREGROUPS] |
|
bool | mPruningUsed |
| | Shows if any pruning is used.
|
|
bool | mScoreBoardPruningUsed |
| | true if the scoreboardis Pruned
|
|
parameterPruningType | mScoreBoardPruningArray [MAX_SCOREBOARD_PRUNINGS] |
| | Henning Müller
|
|
int | mNumberofUsedScoreBoardPrunings |
| | Henning Müller
|
|
bool | mFeaturePruningUsed |
|
double | mPercentageofFeatures |
| | Henning Müller
|
|
bool | mTimePruningUsed |
|
double | mStoppingTime |
| | Henning Müller
|
|
bool | mEvaluateAfterPruning |
Static Public Attributes |
|
static const int | MAXIMUMNUMBEROFEATUREGROUPS = 50 |
| static const int | MAX_SCOREBOARD_PRUNINGS = 10 |
| | These are the variables and functions used for the pruning process.
|
Protected Member Functions |
| double | keepScore (CScoreBoard &inoutScoreBoard, const CWeightingFunctionPointerList &inFeatures, bool lPositive) const |
| double | keepScorePruning (CScoreBoard &inoutScoreBoard, const CWeightingFunctionPointerList &inFeatures, bool inPositive, int inDesiredNumberOfDocuments) const |
| void | buildQueryHash (CRelevanceLevelList &inQuery, CWeightingFunctionPointerHash &outQueryFeatureWeighters) const |
| | creates a list of all the features which are in one or more of the query images should be replaced by a version which operates on IDs not URLs
|
| void | buildNormalizedQueryList (double inPositiveRelevanceSum, double inNegativeRelevanceSum, CWeightingFunctionPointerHash &inQFW, CWeightingFunctionPointerList &outQFW) const |
| void | buildNormalizedQueryHash (double inPositiveRelevanceSum, double inNegativeRelevanceSum, CWeightingFunctionPointerHash &inQFW) const |
| void | init () |
Protected Attributes |
|
CAlgorithm * | mDeb |
|
int | mModulo |
| | You can choose to use only every lModulo-th feature.
|
|
int | mModuloClass |
| | Every lModulo-th feature, starting at lModuloClass.
|
| CWeighterFactory | mWeighterFactory |
| | This is a factory for weighters.
|
|
CSelfDestroyPointer< CWeighter > | mWeighter |
| | The weighter currently used.
|
|
CSelfDestroyPointer< CWeightingFunctionPointerHash > | mQueryFeatureWeighters |
| | object of this type to have a list of the features with the weights
|
Classes |
| struct | parameterPruningType |
| | Parameters for scoreboard pruning. More...
|