|
1 #ifndef PtPartitioningIndex_h
2 #define PtPartitioningIndex_h
6 #include "ClusteringComparisonIndex.h"
19 double index( const PseudoJet* inputParticles,
20 const unsigned* clustering1,
21 const unsigned* clustering2,
25 virtual double processInterClusterMatrix( const double* data,
29 double ptSumsq) const = 0;
31 unsigned max_element( const unsigned * clu, unsigned size ) const;
33 mutable std::vector<double> storage_;
41 double processInterClusterMatrix( const double* data,
45 double ptSumsq) const;
52 inline bool operator<( const ElementSort& r) const
54 return ptsum > r.ptsum;
58 mutable std::vector<ElementSort> storage_;
59 mutable std::vector<int> intstorage_;
69 double processInterClusterMatrix( const double* data,
73 double ptSumsq) const;
74 mutable std::vector<long double> storage_;
78 #endif // PtPartitioningIndex_h
Implementation of Minimal Matching Distance stabiltiy index.
double index(const PseudoJet *inputParticles, const unsigned *clustering1, const unsigned *clustering2, unsigned size) const Calculate the stability index.
|