|
1 #ifndef ClusteringComparison_h
2 #define ClusteringComparison_h
4 #include "ClusteringComparisonIndex.h"
12 double index( const PseudoJet* inputParticles,
13 const unsigned* clustering1,
14 const unsigned* clustering2,
26 virtual double combineCounts( double c1, double c2,
27 double c3, double c4) const = 0;
32 inline double combineCounts( const double c1, const double c2,
33 const double c3, const double c4) const
35 return (c1 + c2)/(c1 + c2 + c3 + c4);
41 inline double combineCounts( const double c1, const double c2,
42 const double c3, const double c4) const
44 return c1/(c1 + c3 + c4);
49 #endif // ClusteringComparison_h
|