openModeller
Version 1.4.0
|
00001 00002 #ifndef _ALGOADAPTERMODEL_HH 00003 #define _ALGOADAPTERMODEL_HH 00004 00005 #include <openmodeller/Model.hh> 00006 00007 #include <openmodeller/Algorithm.hh> 00008 00009 class AlgoAdapterModelImpl : public ModelImpl 00010 { 00011 public: 00012 AlgoAdapterModelImpl( const ConstAlgorithmPtr & ); 00013 00014 virtual ~AlgoAdapterModelImpl(); 00015 00019 virtual void setNormalization( const SamplerPtr& samp ) const ; 00020 00024 virtual void setNormalization( const EnvironmentPtr& env ) const; 00025 00026 virtual Scalar getValue( const Sample& x ) const; 00027 00028 private: 00029 00030 ConstAlgorithmPtr _algo; 00031 00032 }; 00033 00034 #endif