Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00043 #ifndef GAPSTAT_H
00044 # define GAPSTAT_H
00045 #include <time.h>
00046 #include "mathadd.h"
00047 #include "definitions.h"
00048 #include "array.h"
00049 #include "averaging.h"
00050 #include "warping.h"
00051 #include "distances.h"
00052 #include "helper.h"
00053
00054 #ifdef __cplusplus
00055 extern "C" {
00056 #endif
00057
00058 typedef struct {
00059 int K;
00060 int B;
00061 double *gapdistr;
00062 double *sk;
00063 double *Wk;
00064 double **Wkref;
00065 int khat;
00066 ProgressBarFunction progress;
00067 } GapStatistic;
00068
00069
00070 #if 0
00071
00072 GapStatistic* gapstat_init( GapStatistic *g, int K, int B );
00073 void gapstat_free( GapStatistic *g );
00074 void gapstat_print( FILE *out, GapStatistic *g );
00075 void gapstat_calculate( GapStatistic *gap, double **X, int n, int p,
00076 VectorDistanceFunction distfunction, const double** D );
00077
00078 double** gap_get_reference_distribution_simple( const double **X, int n, int p, double **Xr );
00079 double** gap_get_reference_distribution_svd ( const double **X, int n, int p, double **Xr );
00080
00081 int eeg_best_num_clusters_gapstat( const EEG *eeg, VectorDistanceFunction distfunction,
00082 OptArgList *optargs );
00083 #endif
00084
00085 #ifdef __cplusplus
00086 }
00087 #endif
00088
00089
00090 #endif