major folder reorganisation, R pkg is now epclust/ at first level. Experimental usage...
[epclust.git] / old_C_code / stage1 / src / Algorithm / pam.h
diff --git a/old_C_code/stage1/src/Algorithm/pam.h b/old_C_code/stage1/src/Algorithm/pam.h
new file mode 100644 (file)
index 0000000..353759c
--- /dev/null
@@ -0,0 +1,13 @@
+#ifndef PPAM_PAM_H
+#define PPAM_PAM_H
+
+#include "Util/types.h"
+
+#define NSTART 5
+#define MAXITER 100
+
+// Core PAM algorithm from a 'flat' dissimilarity matrix
+void pam(float* dissimilarities, uint32_t nbItems, uint32_t nbClusters,
+       int clustOnMedoids, uint32_t nbStart, uint32_t maxNbIter, Result_t* result);
+
+#endif