|
Public Types |
typedef std::list< ShotResult > | ShotResultList |
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 |
ThreadSet * | mThreadSet |
std::map< String, double > | mSelectedConcepts |
std::map< String, ShotResultList > | mSelectedShots |
| 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 |