MAPEstimation.h 781 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. /**
  2. * @file MAPEstimation.h
  3. // refactor-nice.pl: check this substitution
  4. // old: * @brief abstract interface for map estimation
  5. * @brief abstract interface for std::map estimation
  6. * @author Erik Rodner
  7. * @date 10/30/2008
  8. */
  9. #ifndef MAPESTIMATIONINCLUDE
  10. #define MAPESTIMATIONINCLUDE
  11. #ifdef NOVISUAL
  12. #include <vislearning/nice_nonvis.h>
  13. #else
  14. #include <vislearning/nice.h>
  15. #endif
  16. #include "core/vector/VVector.h"
  17. namespace OBJREC {
  18. /** abstract interface for map estimation */
  19. class MAPEstimation
  20. {
  21. public:
  22. virtual ~MAPEstimation () {};
  23. virtual void estimate ( NICE::Vector & mapEstimate,
  24. const NICE::VVector & likelihoodDistributionSamples,
  25. const NICE::VVector & priorDistributionSamples,
  26. double priorInfluence ) = 0;
  27. };
  28. } // namespace
  29. #endif