-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfun.h
14 lines (13 loc) · 861 Bytes
/
fun.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/***************************************************************
fun.h
cabeceras de las funciones utilizadas en el modulo gengrupos
****************************************************************/
extern int partition(float array[], int low, int high);
extern double distpal (float *vec1, float *vec2);
extern void grupo_cercano (int nvec, float mvec[][NDIM], float cent[][NDIM], int *popul);
extern double silhouette_simple(float mvec[][NDIM], struct lista_grupos *listag, float cent[][NDIM], float a[]);
extern void analisis_campos(struct lista_grupos *listag, float mcam[][NCAM], struct analisis *info_cam);
extern void inicializar_centroides(float cent[][NDIM]);
extern int nuevos_centroides(float mvec[][NDIM], float cent[][NDIM], int popul[], int nvec);
extern void swap(int *a, int *b);
extern void quickSort(float array[], int low, int high);