source: trunk/GDE/PHYML20130708/phyml/src/bionj.h

Last change on this file was 10307, checked in by aboeckma, 11 years ago

added most recent version of phyml

File size: 1.3 KB
Line 
1/*
2
3PhyML:  a program that  computes maximum likelihood phylogenies from
4DNA or AA homologous sequences.
5
6Copyright (C) Stephane Guindon. Oct 2003 onward.
7
8All parts of the source except where indicated are distributed under
9the GNU public licence. See http://www.opensource.org for details.
10
11*/
12
13#include <config.h>
14
15#ifndef NJ_H
16#define NJ_H
17
18#include "utilities.h"
19#include "optimiz.h"
20#include "free.h"
21
22void   Bionj(matrix *mat);
23void   Finish(matrix *mat);
24void   Compute_Sx(matrix *mat);
25phydbl Sum_S(matrix *mat, int i);
26phydbl Dist(matrix *mat, int x, int y);
27phydbl Q_Agglo(matrix *mat, int x, int y);
28phydbl Variance(matrix *mat, int x, int y);
29phydbl Br_Length(matrix *mat, int x, int y);
30void   Update_Dist(matrix *mat, int x, int y);
31phydbl Lamda(matrix *mat, int x, int y, phydbl vxy);
32void   Best_Pair(matrix *mat, int *x, int *y, phydbl *score);
33phydbl Var_Red(matrix *mat, int x, int y, int i, phydbl lamda, phydbl vxy);
34void   Update_Tree(matrix *mat, int x, int y, phydbl lx, phydbl ly, phydbl score);
35void   Update_Mat(matrix *mat, int x, int y, 
36                  phydbl lx, phydbl ly, phydbl vxy, phydbl lamda);
37phydbl Dist_Red(matrix *mat, int x, phydbl lx, int y, 
38                phydbl ly, int i, phydbl lamda);
39int    Bionj_Br_Length_Post(t_node *a, t_node *d, matrix *mat);
40void   Bionj_Br_Length(matrix *mat);
41
42#endif
Note: See TracBrowser for help on using the repository browser.