openModeller  Version 1.5.0
ScaleNormalizer.hh
Go to the documentation of this file.
1 
27 #ifndef _SCALENORMALIZER_HH
28 #define _SCALENORMALIZER_HH
29 
31 
32 class dllexp ScaleNormalizer : public Normalizer {
33 
34 public:
35 
36  friend class test_ScaleNormalizer;
37 
38  // Used only during deserialization
40 
41  ScaleNormalizer( Scalar min, Scalar max, bool useLayerAsRef );
42 
43  ~ScaleNormalizer();
44 
46 
47  void normalize( Sample * samplePtr );
48 
49  Normalizer * getCopy();
50 
52 
54 
55 private:
56 
62 
63 };
64 
65 #endif
double Scalar
Type of map values.
Definition: om_defs.hh:39
virtual ConfigurationPtr getConfiguration() const =0
virtual void normalize(Sample *samplePtr)=0
virtual void setConfiguration(const ConstConfigurationPtr &)=0
virtual void computeNormalization(const ReferenceCountedPointer< const SamplerImpl > &samplerPtr)=0
int min(int v1, int v2)
Definition: rules_base.cpp:56
virtual Normalizer * getCopy()=0
Definition: Sample.hh:25