stablejet is hosted by Hepforge, IPPP Durham
StableJet
stab::ClusteringComparisonIndexCP Class Referenceabstract

#include <ClusteringComparisonIndexCP.h>

Inheritance diagram for stab::ClusteringComparisonIndexCP:
stab::TransversePairwiseIndexCP stab::TransverseJaccardIndexCP stab::TransverseRandIndexCP

Public Member Functions

virtual double index (const PseudoJet *inputParticles, const unsigned *clustering1, const unsigned *clustering2, unsigned size, double *constitStab) const =0
 

Detailed Description

ClusteringComparisonIndexCP - Abstract base class for child classes to inherit a method to compute the clustering stability as in ClusteringComparisonIndex (assuming it is computationally feasible) as well as the clustering stability from the perspective of an individual constituent. The global event clustering stability is returned by the index function, which the vector of constituent perspective stability measures is returned through the index function's argumenet list.

Definition at line 19 of file ClusteringComparisonIndexCP.h.

Member Function Documentation

virtual double stab::ClusteringComparisonIndexCP::index ( const PseudoJet *  inputParticles,
const unsigned *  clustering1,
const unsigned *  clustering2,
unsigned  size,
double *  constitStab 
) const
pure virtual

The constituent perspective clustering stability is returned in the constitStab array. The memory should already be allocated in the array and it is assumed that the calling function owns the pointer. For each constituent in the inputParticles array, a stability is computed in the same index of the constitStab array.

Implemented in stab::TransversePairwiseIndexCP.


The documentation for this class was generated from the following file: