|
1 #ifndef ClusteringComparisonCP_h
2 #define ClusteringComparisonCP_h
4 #include "ClusteringComparisonIndexCP.h"
16 double index( const PseudoJet * inputParticles,
17 const unsigned * clustering1,
18 const unsigned * clustering2,
20 double * constitStab ) const;
34 virtual double combineCounts( double c1, double c2,
35 double c3, double c4) const = 0;
46 inline double combineCounts( const double c1, const double c2,
47 const double c3, const double c4) const
49 return (c1 + c2)/(c1 + c2 + c3 + c4);
60 inline double combineCounts( const double c1, const double c2,
61 const double c3, const double c4) const
63 return c1/(c1 + c3 + c4);
double index(const PseudoJet *inputParticles, const unsigned *clustering1, const unsigned *clustering2, unsigned size, double *constitStab) const
|