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

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

Definition at line 479 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().

00480     {
00481         bool flag = LoadMatrixConceptConditionalProbability(mMatrixFile,mProb_c_g, mConceptNum, mGenreNum, bAnnoSet);
00482 
00483         if (flag)
00484         {
00485             DumpMatrix("mProb_c_g[k][j] - Bayes (file)", mProb_c_g, mConceptNum, mGenreNum);
00486             printf("\nLoading Prob_c_g[k][j] into file.\n");
00487             return true;
00488 
00489         } else {
00490 
00491             printf("\nLoading Prob_c_g[k][j] fails.\n");
00492             return false;
00493         }
00494         
00495     }

Here is the call graph for this function:


Generated on Thu Jan 13 09:20:47 2011 for ImpalaSrc by  doxygen 1.5.1