00001 #ifndef CLU_HEADER
00002 #define CLU_HEADER
00003
00004
00005
00011
00012
00013
00014
00015 #include "mattri.h"
00016
00017
00018
00019 #ifdef __cplusplus
00020 namespace RazorBack {
00021 #endif
00022
00029 typedef struct clu_
00030 {
00031 int *Members;
00032 int No;
00033 struct clu_ *Sub1, *Sub2;
00034 double Lid, Sed;
00035 } Clu_;
00036
00037
00038
00039 #ifdef __cplusplus
00040 extern "C" {
00041 #endif
00042
00053 Clu_ *make_clus(const Mattri_ *Dist, int *Cluno);
00054
00060 void free_clusters(Clu_ Clus[], int Cluno);
00061
00067 void print_clus(const Clu_ *Clu, FILE *Out);
00068
00069 #ifdef __cplusplus
00070 } }
00071 #endif
00072
00073
00074
00075 #endif