oldbionj.c File Reference

#include <stdio.h>
#include <stdlib.h>
#include <string.h>

Classes

struct  word
struct  pointers

Defines

#define PREC   8
#define PRC   12
#define LEN   30

Typedefs

typedef struct word WORD
typedef struct pointers POINTERS

Functions

void Initialize (float **delta, FILE *input, int n, POINTERS *trees)
void Compute_sums_Sx (float **delta, int n)
void Best_pair (float **delta, int r, int *a, int *b, int n)
void Finish (float **delta, int n, POINTERS *trees, FILE *output)
void Concatenate (char chain1[LEN], int ind, POINTERS *trees, int post)
void Print_output (int i, POINTERS *trees, FILE *output)
float Distance (int i, int j, float **delta)
float Variance (int i, int j, float **delta)
float Sum_S (int i, float **delta)
float Agglomerative_criterion (int i, int j, float **delta, int r)
float Branch_length (int a, int b, float **delta, int r)
float Reduction4 (int a, float la, int b, float lb, int i, float lamda, float **delta)
float Reduction10 (int a, int b, int i, float lamda, float vab, float **delta)
float Lamda (int a, int b, float vab, float **delta, int n, int r)
float Finish_branch_length (int i, int j, int k, float **delta)
int Emptied (int i, float **delta)
int Symmetrize (float **delta, int n)
int main (int argc, char **argv)

Define Documentation

#define LEN   30

#define PRC   12

#define PREC   8


Typedef Documentation

typedef struct pointers POINTERS

typedef struct word WORD


Function Documentation

float Agglomerative_criterion ( int  i,
int  j,
float **  delta,
int  r 
)

References Distance(), and Sum_S().

Referenced by Best_pair().

void Best_pair ( float **  delta,
int  r,
int *  a,
int *  b,
int  n 
)

References Agglomerative_criterion(), and Emptied().

Referenced by main().

float Branch_length ( int  a,
int  b,
float **  delta,
int  r 
)

References Distance(), length, and Sum_S().

Referenced by main().

void Compute_sums_Sx ( float **  delta,
int  n 
)

References Distance(), and Emptied().

Referenced by main().

void Concatenate ( char  chain1[LEN],
int  ind,
POINTERS trees,
int  post 
)

References pointers::head, word::name, word::suiv, and pointers::tail.

Referenced by main().

float Distance ( int  i,
int  j,
float **  delta 
)

int Emptied ( int  i,
float **  delta 
)

void Finish ( float **  delta,
int  n,
POINTERS trees,
FILE *  output 
)

float Finish_branch_length ( int  i,
int  j,
int  k,
float **  delta 
)

References Distance(), and length.

Referenced by Finish().

void Initialize ( float **  delta,
FILE *  input,
int  n,
POINTERS trees 
)

float Lamda ( int  a,
int  b,
float  vab,
float **  delta,
int  n,
int  r 
)

References Emptied(), and Variance().

Referenced by main().

int main ( int  argc,
char **  argv 
)

void Print_output ( int  i,
POINTERS trees,
FILE *  output 
)

References pointers::head, word::name, and word::suiv.

Referenced by Finish().

float Reduction10 ( int  a,
int  b,
int  i,
float  lamda,
float  vab,
float **  delta 
)

References Variance().

Referenced by main().

float Reduction4 ( int  a,
float  la,
int  b,
float  lb,
int  i,
float  lamda,
float **  delta 
)

References Distance().

Referenced by main().

float Sum_S ( int  i,
float **  delta 
)

int Symmetrize ( float **  delta,
int  n 
)

References value.

Referenced by main().

float Variance ( int  i,
int  j,
float **  delta 
)

Referenced by Lamda(), main(), and Reduction10().


Generated on Wed Oct 14 21:49:17 2009 for Softwares from Orpara by  doxygen 1.5.6