35 int execute(
const int *clustering1,
36 const int *clustering2,
39 double &ariValue)
const;
45 std::vector<std::vector<int>> &contingencyMatrix,
46 std::vector<int> &sumLin,
47 std::vector<int> &sumCol)
const;
51 int computeARI(
const std::vector<std::vector<int>> &contingencyMatrix,
52 const std::vector<int> &sumLin,
53 const std::vector<int> &sumCol,
55 double &ariValue)
const;
56 int computeNMI(
const std::vector<std::vector<int>> &contingencyMatrix,
57 const std::vector<int> &sumLin,
58 const std::vector<int> &sumCol,
60 double &nmiValue)
const;
int computeContingencyTables(const int *clust1, const int *clust2, const size_t nPoint, std::vector< std::vector< int > > &contingencyMatrix, std::vector< int > &sumLin, std::vector< int > &sumCol) const