Definition at line 69 of file Classifier.h. References Impala::Core::Array::Array2dTem< StorT, elemSize, ArithT >::CPB(), mDimensionality, mGamma, mObjectVectors, and mSize. Referenced by Impala::Core::Tracking::TrackerBackFore::UpdateObject(). 00070 { 00071 if(index >= mSize) 00072 std::cout << "[Classifier::UpdateVec] Classifier out of bounds" << std::endl; 00073 const double* vp = v.CPB(0,0); 00074 double* op = mObjectVectors->CPB(0,index); 00075 for(int i=0 ; i<mDimensionality ; i++) 00076 { 00077 op[i] = op[i] * (1.0-mGamma) + vp[i] * mGamma; 00078 } 00079 }
Here is the call graph for this function:
|