template<class DstArrayT, class SrcArrayT>
Constructor.
Definition at line 86 of file Concept.h. References Impala::Core::Trec::M22poConSVM< DstArrayT, SrcArrayT >::_hist, Impala::Core::Trec::M22poConSVM< DstArrayT, SrcArrayT >::_histPtr, Impala::Core::Trec::M22poConSVM< DstArrayT, SrcArrayT >::_numConcepts, Impala::Core::Trec::M22poConSVM< DstArrayT, SrcArrayT >::_theSVM, and Impala::Core::Matrix::VecE(). 00087 { 00088 _theSVM = theSVM; 00089 _numConcepts = nrConcepts; 00090 _hist = Matrix::VecCreate<Matrix::VecScalarInt32>(_numConcepts); 00091 _histPtr = Matrix::VecE(_hist, 0); 00092 for (int i=0 ; i<_numConcepts ; i++) 00093 _histPtr[i] = 0; 00094 }
Here is the call graph for this function:
|