CCaliperParams.h
Go to the documentation of this file.
1 #ifndef iipr_CCaliperParams_included
2 #define iipr_CCaliperParams_included
3 
4 
5 #include "iipr/ICaliperParams.h"
6 
7 
8 namespace iipr
9 {
10 
11 
12 class CCaliperParams: virtual public ICaliperParams
13 {
14 public:
16 
17  // reimplemented (iipr::ICaliperParams)
18  virtual double GetWeightThreshold() const;
19  virtual void SetWeightThreshold(double threshold);
20  virtual int GetPolarityMode() const;
21  virtual void SetPolarityMode(int mode);
22  virtual int GetDirectionMode() const;
23  virtual void SetDirectionMode(int mode);
24 
25  // reimplemented (iser::ISerializable)
26  virtual bool Serialize(iser::IArchive& archive);
27 
28 private:
29  double m_weightThreshold;
30  int m_polarityMode;
31  int m_directionMode;
32 };
33 
34 
35 } // namespace iipr
36 
37 
38 #endif // !iipr_CCaliperParams_included
39 
40 
virtual int GetDirectionMode() const
Get direction mode.
virtual int GetPolarityMode() const
Get polarity mode.
virtual void SetDirectionMode(int mode)
Set direction mode.
virtual void SetPolarityMode(int mode)
Set polarity mode.
virtual void SetWeightThreshold(double threshold)
Set feature weight threshold will be used to cut weak fetures off.
virtual double GetWeightThreshold() const
Get feature weight threshold will be used to cut weak fetures off.
virtual bool Serialize(iser::IArchive &archive)

© 2007-2011 Witold Gantzke and Kirill Lepskiy