1 #ifndef COMBINEDEVALUATION_H
2 #define COMBINEDEVALUATION_H
4 #include "../base/partitionprovider.h"
5 #include "../base/proxyprovider.h"
6 #include "../base/discreteproxyprovider.h"
29 virtual double combinedcost(std::vector<std::vector<T*> >
const& partitioning, std::vector<T>
const& proxies)
const = 0;
38 virtual double combinedcost(std::vector<T*>
const &partition, T
const &proxy)
const = 0;
49 virtual double combinedcost(std::vector<std::vector<T*> >
const& partitioning, std::vector<T*>
const& proxies)
const = 0;
58 virtual double combinedcost(std::vector<T*>
const &partition, T
const *
const proxy)
const;
68 return combinedcost(cluster, *proxy);
Abstract base class to access the results of proxy / center based clustering algorithms.
Abstract base class to access results of proxy / center based clustering algorithms.
Abstract class. Proxy based evaluation algorithms may be optimized by deriving from this class...
virtual ~CombinedEvaluation()
virtual double combinedcost(std::vector< std::vector< T * > > const &partitioning, std::vector< T > const &proxies) const =0
Calculates the cost related to the proxies, based on the partitions.
Abstract base class for clustering evaluations.
Abstract base class to access results of partition based clustering algorithms.