TPCCLIB
Loading...
Searching...
No Matches
tpcfcmc.h
Go to the documentation of this file.
1
6#ifndef _TPCFCMC_H_
7#define _TPCFCMC_H_
8/*****************************************************************************/
9
10/*****************************************************************************/
11#include "tpcclibConfig.h"
12/*****************************************************************************/
13#include <stdio.h>
14#include <stdlib.h>
15#include <string.h>
16#include <math.h>
17/*****************************************************************************/
18#include "tpcextensions.h"
19/*****************************************************************************/
20
21/*****************************************************************************/
23typedef struct FCMC {
25 unsigned int maxIter;
29 unsigned int fc;
30
32 unsigned int sampleNr;
34 unsigned int dimNr;
36 unsigned int clusterNr;
37
39 double **d;
41 double **cc;
43 unsigned int *sc;
44} FCMC;
45/*****************************************************************************/
46
47/*****************************************************************************/
48/* fcmc */
49extern void fcmcInit(FCMC *fcmc);
50extern void fcmcFree(FCMC *fcmc);
51extern int fcmcAllocate(FCMC *fcmc, unsigned int sampleNr, unsigned int dimNr, unsigned int clusterNr);
52extern void fcmcPrint(FCMC *fcmc, FILE *fp);
53extern int fcmcClusterInitialize(FCMC *fcmc, const int cinit, int verbose);
54extern int fcmclustering(FCMC *fcmc, const int cinit, int verbose);
55/*****************************************************************************/
56
57/*****************************************************************************/
58#endif /* TPCFCMC */
Definition tpcfcmc.h:23
double limitMaxUDiff
Definition tpcfcmc.h:27
unsigned int fc
Definition tpcfcmc.h:29
double ** d
Definition tpcfcmc.h:39
unsigned int * sc
Definition tpcfcmc.h:43
unsigned int dimNr
Definition tpcfcmc.h:34
double ** cc
Definition tpcfcmc.h:41
unsigned int clusterNr
Definition tpcfcmc.h:36
unsigned int sampleNr
Definition tpcfcmc.h:32
unsigned int maxIter
Definition tpcfcmc.h:25
Header file for library libtpcextensions.
void fcmcInit(FCMC *fcmc)
Definition fcmc.c:21
void fcmcPrint(FCMC *fcmc, FILE *fp)
Definition fcmc.c:132
int fcmcClusterInitialize(FCMC *fcmc, const int cinit, int verbose)
Definition fcmc.c:220
int fcmcAllocate(FCMC *fcmc, unsigned int sampleNr, unsigned int dimNr, unsigned int clusterNr)
Definition fcmc.c:69
void fcmcFree(FCMC *fcmc)
Definition fcmc.c:43
int fcmclustering(FCMC *fcmc, const int cinit, int verbose)
Definition fcmc.c:326