BICO 1.1

- Main Page
- Related Pages
- Namespaces
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Pages
clusterdissimilaritymeasure.h
Go to the documentation of this file.
1 #ifndef CLUSTERDISSIMILARITYMEASURE_H
2 #define CLUSTERDISSIMILARITYMEASURE_H
3
4 #include <vector>
5
6 namespace CluE
7 {
8
13 template<typename T> class ClusterDissimilarityMeasure
14 {
15 public:
16 virtual ~ClusterDissimilarityMeasure()
17 {
18 }
19
20 virtual ClusterDissimilarityMeasure<T>* clone() const = 0;
21
25 virtual double dissimilarity(std::vector<T*> const&, std::vector<T*> const&) = 0;
26 };
27
28 }
29
30 #endif
CluE::ClusterDissimilarityMeasure
Abstract base class for cluster dissimilarity measurement.
Definition: clusterdissimilaritymeasure.h:13
CluE::ClusterDissimilarityMeasure::dissimilarity
virtual double dissimilarity(std::vector< T * > const &, std::vector< T * > const &)=0
Computes the dissimilarity between the two given clusters.
CluE::ClusterDissimilarityMeasure::clone
virtual ClusterDissimilarityMeasure< T > * clone() const =0
CluE::ClusterDissimilarityMeasure::~ClusterDissimilarityMeasure
virtual ~ClusterDissimilarityMeasure()
Definition: clusterdissimilaritymeasure.h:16