diff dsp/segmentation/cluster_melt.h @ 480:175e51ae78eb

Untabify, indent, tidy
author Chris Cannam <cannam@all-day-breakfast.com>
date Fri, 31 May 2019 10:53:39 +0100
parents d5014ab8b0e5
children d48276a3ae24
line wrap: on
line diff
--- a/dsp/segmentation/cluster_melt.h	Fri May 31 10:35:08 2019 +0100
+++ b/dsp/segmentation/cluster_melt.h	Fri May 31 10:53:39 2019 +0100
@@ -1,5 +1,3 @@
-#ifndef _CLUSTER_MELT_H
-#define _CLUSTER_MELT_H
 /*
  *  cluster_melt.h
  *  cluster_melt
@@ -15,6 +13,9 @@
  *
  */
 
+#ifndef _CLUSTER_MELT_H
+#define _CLUSTER_MELT_H
+
 #include <stdlib.h>
 #include <math.h>
 
@@ -22,15 +23,15 @@
 extern "C" {
 #endif
 
-void cluster_melt(double *h,		/* normalised histograms, as a vector in row major order */
-				  int m,			/* number of dimensions (i.e. histogram bins) */
-				  int n,			/* number of histograms */
-				  double *Bsched,	/* inverse temperature schedule */
-				  int t,			/* length of schedule */
-				  int k,			/* number of clusters */
-				  int l,			/* neighbourhood limit (supply zero to use default value) */
-				  int *c			/* sequence of cluster assignments */
-);
+void cluster_melt(double *h,            /* normalised histograms, as a vector in row major order */
+                  int m,                        /* number of dimensions (i.e. histogram bins) */
+                  int n,                        /* number of histograms */
+                  double *Bsched,       /* inverse temperature schedule */
+                  int t,                        /* length of schedule */
+                  int k,                        /* number of clusters */
+                  int l,                        /* neighbourhood limit (supply zero to use default value) */
+                  int *c                        /* sequence of cluster assignments */
+    );
 
 #ifdef __cplusplus
 }