CachedQuadraticDistances.h 630 B

1234567891011121314151617181920212223242526272829303132
  1. /**
  2. * @file CachedQuadraticDistances.h
  3. * @author Erik Rodner
  4. * @date 01/20/2010
  5. */
  6. #ifndef _NICE_OBJREC_CACHEDQUADRATICDISTANCESINCLUDE
  7. #define _NICE_OBJREC_CACHEDQUADRATICDISTANCESINCLUDE
  8. #include "ParameterizedKernel.h"
  9. #include "core/vector/MatrixT.h"
  10. namespace OBJREC {
  11. /** @class CachedQuadraticDistances
  12. * kernel function which needs quadratic distances between feature vectors
  13. *
  14. * @author Erik Rodner
  15. */
  16. class CachedQuadraticDistances : public ParameterizedKernel
  17. {
  18. protected:
  19. public:
  20. virtual void calcKernelData ( const NICE::VVector & vecSet, KernelData *kernelData ) const;
  21. };
  22. }
  23. #endif