Home || Architecture || Video Search || Visual Search || Scripts || Applications || Important Messages || OGL || Src

Impala::Core::Trec::IDashQueryEngine Class Reference

#include <IDashQueryEngine.h>

Collaboration diagram for Impala::Core::Trec::IDashQueryEngine:

Collaboration graph
[legend]
List of all members.

Public Types

typedef std::list< ShotResultShotResultList

Public Member Functions

 IDashQueryEngine (ThreadSet *set)
void ProcessIDashQueryList (std::list< String > qlist)
bool HasComponents ()
void AddConcept (String conceptname, double amount=1.0)
void RemoveConcept (String conceptname)
void AddShots (String identifier, std::list< KeyframeResult > keyframes)
void AddShots (String identifier, ShotResultList shots)
void RemoveShots (String identifier)
void Clear ()
void GenerateThreadFromQuery (String threadname)
bool FilterByLanguage (ShotResult in)
ShotResultList ProcessList (ShotResultList in, bool(IDashQueryEngine::*f)(ShotResult))
ShotResultList MergeResults (std::list< ShotResultList > lists, int mergeMethod=MERGE_DEFAULT)
ShotResultList MergeResultsByBordaFusion (std::list< ShotResultList > lists)
ShotResultList MergeResultsByRoundRobin (std::list< ShotResultList > lists)
ShotResultList ProcessFilters (ShotResultList in)
void SetLanguageFilter (bool enableEng, bool enableChi, bool enableArb)

Private Member Functions

ShotResultList ConvertToShotResult (std::list< KeyframeResult > keyframes)
ShotResultList ConvertToShotResult (ThreadSet *threadset, String concept)
int GetLanguage (int shotID)
void Init (ThreadSet *set)

Private Attributes

int mMaxResults
bool mDoLanguageFilter
bool mLanguageAllowEng
bool mLanguageAllowArb
bool mLanguageAllowChi
ThreadSetmThreadSet
std::map< String, double > mSelectedConcepts
std::map< String, ShotResultListmSelectedShots
 ILOG_VAR_DEC

Static Private Attributes

static const int LANGUAGE_ENGLISH = 1
static const int LANGUAGE_CHINESE = 2
static const int LANGUAGE_ARABIC = 4
static const int MERGE_ROUNDROBIN = 1
static const int MERGE_BORDAFUSION = 2
static const int MERGE_DEFAULT = MERGE_BORDAFUSION

Detailed Description

Definition at line 31 of file IDashQueryEngine.h.


The documentation for this class was generated from the following file:
Generated on Fri Mar 19 11:25:14 2010 for ImpalaSrc by  doxygen 1.5.1