MaxDistance.h 619 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. /**
  2. * @file MaxDistance.h
  3. * @brief maximum distance measure
  4. * @author Erik Rodner
  5. * @date 02/19/2008
  6. */
  7. #ifndef MaxDistanceINCLUDE
  8. #define MaxDistanceINCLUDE
  9. #include "core/vector/VectorT.h"
  10. #include "core/vector/MatrixT.h"
  11. #include <core/vector/Distance.h>
  12. namespace OBJREC {
  13. /** maximum distance measure */
  14. class MaxDistance : public NICE::VectorDistance<double>
  15. {
  16. protected:
  17. double doCalculate (const NICE::Vector & x, const NICE::Vector & y) const;
  18. public:
  19. /** simple constructor */
  20. MaxDistance();
  21. /** simple destructor */
  22. virtual ~MaxDistance();
  23. };
  24. } // namespace
  25. #endif