template<class DstArrayT, class SrcArrayT>
Constructor.
Definition at line 35 of file Concept.h. References Impala::Core::Trec::M21poConSVM< DstArrayT, SrcArrayT >::_hist, Impala::Core::Trec::M21poConSVM< DstArrayT, SrcArrayT >::_histPtr, Impala::Core::Trec::M21poConSVM< DstArrayT, SrcArrayT >::_numConcepts, Impala::Core::Trec::M21poConSVM< DstArrayT, SrcArrayT >::_theSVM, and Impala::Core::Matrix::VecE(). 00036 { 00037 _theSVM = theSVM; 00038 _numConcepts = nrConcepts; 00039 _hist = Matrix::VecCreate<Matrix::VecScalarInt32>(_numConcepts); 00040 _histPtr = Matrix::VecE(_hist, 0); 00041 for (int i=0 ; i<_numConcepts ; i++) 00042 _histPtr[i] = 0; 00043 }
Here is the call graph for this function:
|