18 #ifndef _biomcmc_reconciliation_h_ 19 #define _biomcmc_reconciliation_h_ void del_reconciliation(reconciliation r)
release allocated memory for reconciliation_struct
Definition: reconciliation.c:69
mapping between gene tree nodes (this) and (external) species tree nodes
Definition: genetree.h:48
reconciliation new_reconciliation_from_reconciliation(int gene_nleaves, int sp_nleaves, reconciliation from)
Create new reconciliation struct and copy values (except species tree info) from another struct...
Definition: reconciliation.c:47
void initialize_reconciliation_sp_count(reconciliation rec, int n_sp, int n_idx)
Fill rec->sp_count[] with the number of representatives of each species (idexed by rec->sp_id[]) ...
Definition: reconciliation.c:84
Definition: genetree.h:29
void reconciliation_gene_tree_reconcile(genetree gtre, speciestree sptre)
Find reconciliation map between gene and species trees.
Definition: reconciliation.c:157
gene tree and species tree structures, for reconciliation etc. This is the high-level file with globa...
void initialize_reconciliation_from_new_species_tree(genetree gtre, speciestree sptre)
transform indexes found in index_sptaxa_to_genetaxa() to pointers to species nodes ...
Definition: reconciliation.c:110
Definition: genetree.h:39
reconciliation new_reconciliation(int gene_nleaves, int sp_nleaves)
Allocate space for new reconciliation_struct (other functions defined in topology_mrca.c)
Definition: reconciliation.c:21