BICO  1.0
 All Classes Namespaces Files Functions Variables Typedefs Pages
weightmodifier.h
Go to the documentation of this file.
1 #ifndef WEIGHTMODIFIER_H
2 #define WEIGHTMODIFIER_H
3 
4 namespace CluE
5 {
6 
12 template<typename T> class WeightModifier
13 {
14 public:
15  virtual ~WeightModifier()
16  {
17  }
18 
23  virtual WeightModifier<T>* clone() const = 0;
24 
25  virtual double getWeight(T&) = 0;
26  virtual void setWeight(T&, double) = 0;
27 };
28 
29 }
30 
31 #endif