KernelStd.h 575 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. /**
  2. * @file KernelStd.h
  3. * @brief Standard kernel
  4. * @author Erik Rodner
  5. * @date 10/24/2007
  6. */
  7. #ifndef KERNELSTDINCLUDE
  8. #define KERNELSTDINCLUDE
  9. #ifdef NOVISUAL
  10. #include <vislearning/nice_nonvis.h>
  11. #else
  12. #include <vislearning/nice.h>
  13. #endif
  14. #include "Kernel.h"
  15. /** Standard kernel */
  16. namespace OBJREC {
  17. class KernelStd : public Kernel
  18. {
  19. protected:
  20. public:
  21. /** simple constructor */
  22. KernelStd();
  23. /** simple destructor */
  24. virtual ~KernelStd();
  25. double K (const NICE::Vector & x, const NICE::Vector & y) const;
  26. };
  27. } // namespace
  28. #endif