BICO  1.0
 All Classes Namespaces Files Functions Variables Typedefs Pages
attributecalculator.h
Go to the documentation of this file.
1 #ifndef ATTRIBUTECALCULATOR_H
2 #define ATTRIBUTECALCULATOR_H
3 
4 namespace CluE
5 {
6 
12 template<typename T> class AttributeCalculator
13 {
14 public:
16  {
17  }
18 
19  virtual AttributeCalculator<T>* clone() const = 0;
20 
24  virtual double calculate(T const&) const = 0;
25 };
26 
27 }
28 
29 #endif