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

ShotResultList Impala::Core::Trec::IDashQueryEngine::MergeResults ( std::list< ShotResultList lists,
int  mergeMethod = MERGE_DEFAULT 
) [inline]

Definition at line 181 of file IDashQueryEngine.h.

References ILOG_ERROR, MERGE_BORDAFUSION, MERGE_ROUNDROBIN, MergeResultsByBordaFusion(), and MergeResultsByRoundRobin().

Referenced by GenerateThreadFromQuery().

00182     {
00183         switch (mergeMethod)
00184         {
00185             case MERGE_ROUNDROBIN:
00186                 return MergeResultsByRoundRobin(lists);
00187             case MERGE_BORDAFUSION:
00188                 return MergeResultsByBordaFusion(lists);
00189             default:
00190                 ILOG_ERROR("QueryEngine::MergeResults: invalid merge function: "
00191                            << mergeMethod);
00192                 return MergeResultsByBordaFusion(lists);
00193         }
00194     }

Here is the call graph for this function:


Generated on Thu Jan 13 09:21:25 2011 for ImpalaSrc by  doxygen 1.5.1