#ifndef NORMALIZER_HPP #define NORMALIZER_HPP #include "../Projector.hpp" class Normalizer : public Projector { private: double* range_min; double* range_max; double* offset; double factor; void allocate(); void deallocate(); void init_range(); void update_range(); void finish_range(); protected: virtual void project(const double* point); public: Normalizer(unsigned int dimension); virtual ~Normalizer(); private: Normalizer(Normalizer const &); Normalizer & operator=(Normalizer const &); }; #endif // NORMALIZER_HPP