Edinburgh Speech Tools  2.1-release
EST_cluster.cc File Reference
#include <cstdlib>
#include "EST_system.h"
#include "EST_FMatrix.h"
#include "EST_cluster.h"
#include <fstream>
#include "EST_string_aux.h"
#include <cfloat>
Include dependency graph for EST_cluster.cc:

Go to the source code of this file.

Functions

int fn_cluster (EST_FMatrix &m, EST_CBK &cbk, float d)
 
int nn_cluster (EST_FMatrix &m, EST_CBK &cbk, float d)
 
int nn_cluster2 (EST_FMatrix &m, EST_CBK &cbk, float d)
 
float lval (EST_FMatrix &a, float floor, int &row, int &col)
 
float nn_cluster3 (EST_FMatrix &m, EST_CBK &cbk, EST_String method)
 
void init_cluster (EST_CBK &cbk, int n)
 
int cluster (EST_FMatrix &m, EST_CBK &cbk, EST_TList< EST_String > &ans, EST_String method, EST_TList< EST_String > &names)
 
int contains (EST_TList< int > &l, int n)
 
void remove_distances (EST_FMatrix &d, EST_TList< int > &group)
 
void collapse (EST_FMatrix &d, EST_CBK &cbk, int row, int col)
 
float min (float a, float b)
 
float max (float a, float b)
 
void collapse3 (EST_FMatrix &d, EST_CBK &cbk, int row, int col, EST_String method)
 
EST_FVector sort_matrix (EST_FMatrix &m)
 
EST_String print_codebook (EST_CBK &cbk, float d, EST_TList< EST_String > &names)
 
void cluster3 (EST_FMatrix &m, float d)
 
float lowestval (EST_FMatrix &m, EST_TList< int > &a, EST_TList< int > &b)
 
float highestval (EST_FMatrix &m, EST_TList< int > &a, EST_TList< int > &b)
 
void merge (EST_TList< int > cbk[], int i, int j)
 
int load_names (EST_String file, EST_TList< EST_String > &names)
 

Function Documentation

int fn_cluster ( EST_FMatrix m,
EST_CBK cbk,
float  d 
)

Definition at line 269 of file EST_cluster.cc.

int nn_cluster ( EST_FMatrix m,
EST_CBK cbk,
float  d 
)

Definition at line 234 of file EST_cluster.cc.

int nn_cluster2 ( EST_FMatrix m,
EST_CBK cbk,
float  d 
)

Definition at line 190 of file EST_cluster.cc.

float lval ( EST_FMatrix a,
float  floor,
int row,
int col 
)

Definition at line 460 of file EST_cluster.cc.

float nn_cluster3 ( EST_FMatrix m,
EST_CBK cbk,
EST_String  method 
)

Definition at line 212 of file EST_cluster.cc.

void init_cluster ( EST_CBK cbk,
int  n 
)

Definition at line 56 of file EST_cluster.cc.

int cluster ( EST_FMatrix m,
EST_CBK cbk,
EST_TList< EST_String > &  ans,
EST_String  method,
EST_TList< EST_String > &  names 
)

Definition at line 69 of file EST_cluster.cc.

int contains ( EST_TList< int > &  l,
int  n 
)

Definition at line 82 of file EST_cluster.cc.

void remove_distances ( EST_FMatrix d,
EST_TList< int > &  group 
)

Definition at line 93 of file EST_cluster.cc.

void collapse ( EST_FMatrix d,
EST_CBK cbk,
int  row,
int  col 
)

Definition at line 119 of file EST_cluster.cc.

float min ( float  a,
float  b 
)

Definition at line 138 of file EST_cluster.cc.

float max ( float  a,
float  b 
)

Definition at line 143 of file EST_cluster.cc.

void collapse3 ( EST_FMatrix d,
EST_CBK cbk,
int  row,
int  col,
EST_String  method 
)

Definition at line 150 of file EST_cluster.cc.

EST_FVector sort_matrix ( EST_FMatrix m)

Definition at line 315 of file EST_cluster.cc.

EST_String print_codebook ( EST_CBK cbk,
float  d,
EST_TList< EST_String > &  names 
)

Definition at line 351 of file EST_cluster.cc.

void cluster3 ( EST_FMatrix m,
float  d 
)

Definition at line 375 of file EST_cluster.cc.

float lowestval ( EST_FMatrix m,
EST_TList< int > &  a,
EST_TList< int > &  b 
)

Definition at line 440 of file EST_cluster.cc.

float highestval ( EST_FMatrix m,
EST_TList< int > &  a,
EST_TList< int > &  b 
)

Definition at line 476 of file EST_cluster.cc.

void merge ( EST_TList< int cbk[],
int  i,
int  j 
)

Definition at line 509 of file EST_cluster.cc.

int load_names ( EST_String  file,
EST_TList< EST_String > &  names 
)

Definition at line 519 of file EST_cluster.cc.