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

void Impala::Core::Table::QuidTable::SetQuidSet ( int  setId  )  [inline]

Set the setid of all quids in the table.

This is hackish and unsafe. This function enables one to use a table from another dataset as if it came from the set itselfl. We should either redesign the code that does that (mainTestTrainingRegression.cpp) or introduce a better way to do the same.

Definition at line 180 of file QuidTable.h.

References Impala::Core::Table::TableTem< Col1T, Col2T, Col3T, Col4T, Col5T, Col6T, Col7T, Col8T, Col9T >::Get1(), Impala::MakeQuid(), Impala::QuidClass(), Impala::QuidId(), Impala::QuidObject(), Impala::Core::Table::TableTem< Col1T, Col2T, Col3T, Col4T, Col5T, Col6T, Col7T, Col8T, Col9T >::Set1(), and Impala::Core::Table::Table::Size().

Referenced by Impala::Core::DataFactory::MakeTrainFeatureQuids().

00181     {
00182         for(int i=0 ; i<Size() ; ++i)
00183         {
00184             Quid q = Get1(i);
00185             Set1(i, MakeQuid(QuidClass(q), setId, QuidObject(q), QuidId(q)));
00186         }
00187     }

Here is the call graph for this function:


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