c@243: #ifndef _CLUSTER_MELT_H c@243: #define _CLUSTER_MELT_H c@243: /* c@243: * cluster_melt.h c@243: * cluster_melt c@243: * c@243: * Created by Mark Levy on 21/02/2006. c@309: * Copyright 2006 Centre for Digital Music, Queen Mary, University of London. c@309: c@309: This program is free software; you can redistribute it and/or c@309: modify it under the terms of the GNU General Public License as c@309: published by the Free Software Foundation; either version 2 of the c@309: License, or (at your option) any later version. See the file c@309: COPYING included with this distribution for more information. c@243: * c@243: */ c@243: c@243: #include c@243: #include c@243: c@245: #ifdef __cplusplus c@245: extern "C" { c@245: #endif c@245: c@243: void cluster_melt(double *h, /* normalised histograms, as a vector in row major order */ c@243: int m, /* number of dimensions (i.e. histogram bins) */ c@243: int n, /* number of histograms */ c@243: double *Bsched, /* inverse temperature schedule */ c@243: int t, /* length of schedule */ c@243: int k, /* number of clusters */ c@243: int l, /* neighbourhood limit (supply zero to use default value) */ c@243: int *c /* sequence of cluster assignments */ c@243: ); c@243: c@245: #ifdef __cplusplus c@245: } c@245: #endif c@245: c@245: #endif