annotate dsp/segmentation/cluster_melt.h @ 414:7e8d1f26b098

Fix compiler warnings with -Wall -Wextra
author Chris Cannam <c.cannam@qmul.ac.uk>
date Mon, 28 Sep 2015 12:33:17 +0100
parents d5014ab8b0e5
children 175e51ae78eb
rev   line source
c@243 1 #ifndef _CLUSTER_MELT_H
c@243 2 #define _CLUSTER_MELT_H
c@243 3 /*
c@243 4 * cluster_melt.h
c@243 5 * cluster_melt
c@243 6 *
c@243 7 * Created by Mark Levy on 21/02/2006.
c@309 8 * Copyright 2006 Centre for Digital Music, Queen Mary, University of London.
c@309 9
c@309 10 This program is free software; you can redistribute it and/or
c@309 11 modify it under the terms of the GNU General Public License as
c@309 12 published by the Free Software Foundation; either version 2 of the
c@309 13 License, or (at your option) any later version. See the file
c@309 14 COPYING included with this distribution for more information.
c@243 15 *
c@243 16 */
c@243 17
c@243 18 #include <stdlib.h>
c@243 19 #include <math.h>
c@243 20
c@245 21 #ifdef __cplusplus
c@245 22 extern "C" {
c@245 23 #endif
c@245 24
c@243 25 void cluster_melt(double *h, /* normalised histograms, as a vector in row major order */
c@243 26 int m, /* number of dimensions (i.e. histogram bins) */
c@243 27 int n, /* number of histograms */
c@243 28 double *Bsched, /* inverse temperature schedule */
c@243 29 int t, /* length of schedule */
c@243 30 int k, /* number of clusters */
c@243 31 int l, /* neighbourhood limit (supply zero to use default value) */
c@243 32 int *c /* sequence of cluster assignments */
c@243 33 );
c@243 34
c@245 35 #ifdef __cplusplus
c@245 36 }
c@245 37 #endif
c@245 38
c@245 39 #endif