BICO  1.0
 All Classes Namespaces Files Functions Variables Typedefs Pages
partitionevaluation.h
Go to the documentation of this file.
1 #ifndef PARTITIONEVALUATION_H
2 #define PARTITIONEVALUATION_H
3 
4 #include "../base/evaluation.h"
5 #include "../base/partitionprovider.h"
6 
7 #include <vector>
8 
9 namespace CluE
10 {
11 
19 template<typename T> class PartitionEvaluation : virtual public Evaluation
20 {
21 public:
23  {
24  }
25 
29  virtual double partitioncost(std::vector<std::vector<T*> > const &partitioning) const = 0;
33  virtual double partitioncost(PartitionProvider<T> const &partitioning, unsigned int solutionIndex) const = 0;
34 
38  virtual double partitioncost(std::vector<T*> const &partition) const = 0;
42  virtual double partitioncost(PartitionProvider<T> const &partitioning, unsigned int solutionIndex, unsigned int partitionIndex) const = 0;
43 };
44 
45 }
46 
47 #endif