annotate kmeans.h @ 0:e69e4c2d612a
Initial pthreads version
| author |
Merten Sach <msach@mailbox.tu-berlin.de> |
| date |
Wed, 03 Aug 2011 19:30:34 +0200 |
| parents |
|
| children |
8e7bdab2840f |
| rev |
line source |
|
msach@0
|
1 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
|
|
msach@0
|
2 /* File: kmeans.h (an OpenMP version) */
|
|
msach@0
|
3 /* Description: header file for a simple k-means clustering program */
|
|
msach@0
|
4 /* */
|
|
msach@0
|
5 /* Author: Wei-keng Liao */
|
|
msach@0
|
6 /* ECE Department Northwestern University */
|
|
msach@0
|
7 /* email: wkliao@ece.northwestern.edu */
|
|
msach@0
|
8 /* Copyright, 2005, Wei-keng Liao */
|
|
msach@0
|
9 /* */
|
|
msach@0
|
10 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
|
|
msach@0
|
11
|
|
msach@0
|
12 #ifndef _H_KMEANS
|
|
msach@0
|
13 #define _H_KMEANS
|
|
msach@0
|
14
|
|
msach@0
|
15 #include <assert.h>
|
|
msach@0
|
16
|
|
msach@0
|
17 double** pthreads_kmeans(int, double**, int, int, int, double, int*);
|
|
msach@0
|
18
|
|
msach@0
|
19 double** file_read(int, char*, int*, int*);
|
|
msach@0
|
20
|
|
msach@0
|
21 double wtime(void);
|
|
msach@0
|
22
|
|
msach@0
|
23 #endif
|