openModeller
Version 1.4.0
|
00001 00002 00003 #ifndef _SCALEDMODEL_HH 00004 #define _SCALEDMODEL_HH 00005 00006 #include <Model.hh> 00007 #include <openmodeller/Normalizer.hh> 00008 00009 class ScaledModelImpl : public ModelImpl 00010 { 00011 00012 public: 00013 00014 ScaledModelImpl( Normalizer * normalizerPtr ); 00015 00016 virtual ~ScaledModelImpl(); 00017 00021 virtual void setNormalization( const SamplerPtr& samp ) const ; 00022 00026 virtual void setNormalization( const EnvironmentPtr& env ) const; 00027 00031 virtual Scalar getValue( const Sample& x ) const = 0; 00032 00033 protected: 00034 Normalizer * _normalizerPtr; 00035 00036 private: 00037 ScaledModelImpl(); 00038 00039 }; 00040 00041 00042 #endif