openModeller  Version 1.5.0
Model.hh
Go to the documentation of this file.
1 
29 #ifndef _MODEL_HH
30 #define _MODEL_HH
31 
32 #include <openmodeller/om_defs.hh>
33 
34 #include <openmodeller/Sampler.hh>
36 #include <openmodeller/refcount.hh>
37 
38 class ModelImpl;
39 
41 
43 
45 
46 public:
47 
48  virtual ~ModelImpl() {};
49 
53  virtual void setNormalization( const SamplerPtr& samp ) const = 0;
54 
58  virtual void setNormalization( const EnvironmentPtr& env ) const = 0;
59 
63  virtual Scalar getValue( const Sample& x ) const = 0;
64 
65 };
66 
67 
68 #endif
virtual Scalar getValue(const Sample &x) const =0
double Scalar
Type of map values.
Definition: om_defs.hh:39
ReferenceCountedPointer< ModelImpl > Model
Definition: Model.hh:38
virtual void setNormalization(const SamplerPtr &samp) const =0
virtual ~ModelImpl()
Definition: Model.hh:48
Definition: Sample.hh:25