#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 LEN 30 |
| #define PRC 12 |
| #define PREC 8 |
| float Agglomerative_criterion | ( | int | i, | |
| int | j, | |||
| float ** | delta, | |||
| int | r | |||
| ) |
| void Best_pair | ( | float ** | delta, | |
| int | r, | |||
| int * | a, | |||
| int * | b, | |||
| int | n | |||
| ) |
| float Branch_length | ( | int | a, | |
| int | b, | |||
| float ** | delta, | |||
| int | r | |||
| ) |
| void Compute_sums_Sx | ( | float ** | delta, | |
| int | n | |||
| ) |
| void Concatenate | ( | char | chain1[LEN], | |
| int | ind, | |||
| POINTERS * | trees, | |||
| int | post | |||
| ) |
| float Distance | ( | int | i, | |
| int | j, | |||
| float ** | delta | |||
| ) |
Referenced by Agglomerative_criterion(), Branch_length(), Compute_sums_Sx(), Finish_branch_length(), and Reduction4().
| int Emptied | ( | int | i, | |
| float ** | delta | |||
| ) |
Referenced by Best_pair(), Compute_sums_Sx(), Finish(), Lamda(), and main().
| void Finish | ( | float ** | delta, | |
| int | n, | |||
| POINTERS * | trees, | |||
| FILE * | output | |||
| ) |
References Emptied(), Finish_branch_length(), pointers::head, LEN, length, PREC, Print_output(), and word::suiv.
Referenced by main().
| float Finish_branch_length | ( | int | i, | |
| int | j, | |||
| int | k, | |||
| float ** | delta | |||
| ) |
| void Initialize | ( | float ** | delta, | |
| FILE * | input, | |||
| int | n, | |||
| POINTERS * | trees | |||
| ) |
References pointers::head, LEN, word::name, name, word::suiv, and pointers::tail.
| float Lamda | ( | int | a, | |
| int | b, | |||
| float | vab, | |||
| float ** | delta, | |||
| int | n, | |||
| int | r | |||
| ) |
| int main | ( | int | argc, | |
| char ** | argv | |||
| ) |
References Best_pair(), Branch_length(), Compute_sums_Sx(), Concatenate(), delta(), Emptied(), Finish(), pointers::head, Initialize(), input, Lamda(), LEN, ok, PRC, PREC, Reduction10(), Reduction4(), word::suiv, Symmetrize(), pointers::tail, and Variance().
| void Print_output | ( | int | i, | |
| POINTERS * | trees, | |||
| FILE * | output | |||
| ) |
| float Reduction10 | ( | int | a, | |
| int | b, | |||
| int | i, | |||
| float | lamda, | |||
| float | vab, | |||
| float ** | delta | |||
| ) |
| float Reduction4 | ( | int | a, | |
| float | la, | |||
| int | b, | |||
| float | lb, | |||
| int | i, | |||
| float | lamda, | |||
| float ** | delta | |||
| ) |
| float Sum_S | ( | int | i, | |
| float ** | delta | |||
| ) |
Referenced by Agglomerative_criterion(), and Branch_length().
| float Variance | ( | int | i, | |
| int | j, | |||
| float ** | delta | |||
| ) |
Referenced by Lamda(), main(), and Reduction10().
1.5.6