biomcmc-lib  0.1
low level library for phylogenetic analysis
upgma.h
Go to the documentation of this file.
1 /*
2  * This file is part of biomcmc-lib, a low-level library for phylogenomic analysis.
3  * Copyright (C) 2019-today Leonardo de Oliveira Martins [ leomrtns at gmail.com; http://www.leomartins.org ]
4  *
5  * biomcmc is free software; you can redistribute it and/or modify it under the terms of the GNU General Public
6  * License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later
7  * version.
8  *
9  * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied
10  * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
11  * details (file "COPYING" or http://www.gnu.org/copyleft/gpl.html).
12  */
13 
19 #ifndef _biomcmc_upgma_h_
20 #define _biomcmc_upgma_h_
21 
22 #include "topology_randomise.h"
23 
25 void upgma_from_distance_matrix (topology tree, distance_matrix dist, bool single_linkage);
28 
29 #endif
Creation of random topologies and modification of existing ones through branch swapping.
void upgma_from_distance_matrix(topology tree, distance_matrix dist, bool single_linkage)
lowlevel UPGMA (or single-linkage) function that depends on a topology and a matrix_distance ...
Definition: upgma.c:17
Definition: distance_matrix.h:29
void bionj_from_distance_matrix(topology tree, distance_matrix dist)
lowlevel bioNJ function (Gascuel and Cuong implementation) that depends on a topology and a matrix_di...
Definition: upgma.c:131
Binary unrooted topology (rooted at leaf with ID zero)
Definition: topology_common.h:47