qm-dsp
1.8
cluster_melt.h
Go to the documentation of this file.
1
#ifndef _CLUSTER_MELT_H
2
#define _CLUSTER_MELT_H
3
/*
4
* cluster_melt.h
5
* cluster_melt
6
*
7
* Created by Mark Levy on 21/02/2006.
8
* Copyright 2006 Centre for Digital Music, Queen Mary, University of London.
9
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.
15
*
16
*/
17
18
#include <stdlib.h>
19
#include <math.h>
20
21
#ifdef __cplusplus
22
extern
"C"
{
23
#endif
24
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 */
33
);
34
35
#ifdef __cplusplus
36
}
37
#endif
38
39
#endif
cluster_melt
void cluster_melt(double *h, int m, int n, double *Bsched, int t, int k, int l, int *c)
dsp
segmentation
cluster_melt.h
Generated by
1.8.13