}
else
// No information: complete random sampling
- sample(ctrs, nbItems, nbClusters);
+ sample(ctrs, nbItems, nbClusters);
for (uint32_t j = 0; j < nbClusters; j++)
oldCtrs[j] = 0;
uint32_t kounter = 0;
#define MAXITER 100
// Core PAM algorithm from a 'flat' dissimilarity matrix
-void pam(Real* dissimilarities, uint32_t nbItems, uint32_t nbClusters,
+void pam(Real* dissimilarities, uint32_t nbItems, uint32_t nbClusters,
int clustOnMedoids, uint32_t nbStart, uint32_t maxNbIter, Result_t* result);
#endif