1 #ifndef _CLUSTER_MELT_H
2 #define _CLUSTER_MELT_H
7 * Created by Mark Levy on 21/02/2006.
8 * Copyright 2006 Centre for Digital Music, Queen Mary, University of London.
10 This program is free software; you can redistribute it and/or
11 modify it under the terms of the GNU General Public License as
12 published by the Free Software Foundation; either version 2 of the
13 License, or (at your option) any later version. See the file
14 COPYING included with this distribution for more information.
25 void cluster_melt(double *h, /* normalised histograms, as a vector in row major order */
26 int m, /* number of dimensions (i.e. histogram bins) */
27 int n, /* number of histograms */
28 double *Bsched, /* inverse temperature schedule */
29 int t, /* length of schedule */
30 int k, /* number of clusters */
31 int l, /* neighbourhood limit (supply zero to use default value) */
32 int *c /* sequence of cluster assignments */