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

bool Impala::Core::Table::Bayes::LoadMatrix ( bool  bAnnoSet = true  )  [inline]

Definition at line 425 of file Bayes.h.

References DumpMatrix(), LoadMatrixConceptConditionalProbability(), mConceptNum, mGenreNum, mMatrixFile, and mProb_c_g.

Referenced by Impala::Core::Table::BayesFusion::ExecuteBayesFusion(), and Impala::Core::Table::BayesFusion::Initialization().

00426     {
00427         bool flag = LoadMatrixConceptConditionalProbability(mMatrixFile,mProb_c_g, mConceptNum, mGenreNum, bAnnoSet);
00428 
00429         if (flag)
00430         {
00431             DumpMatrix("mProb_c_g[k][j] - Bayes (file)", mProb_c_g, mConceptNum, mGenreNum);
00432             printf("\nLoading Prob_c_g[k][j] into file.\n");
00433             return true;
00434 
00435         } else {
00436 
00437             printf("\nLoading Prob_c_g[k][j] fails.\n");
00438             return false;
00439         }
00440         
00441     }

Here is the call graph for this function:


Generated on Fri Mar 19 11:20:16 2010 for ImpalaSrc by  doxygen 1.5.1