A library for working with phylogenetic and population genetic data.
v0.32.0
tree/mass_tree/tree.hpp File Reference

Go to the source code of this file.

Classes

class  MassTreeEdgeData
 Data class for MassTreeEdges. Stores the branch length and a list of masses with their positions along the edge. More...
 
class  MassTreeNodeData
 Data class for MassTreeNodes. Stores taxon names. More...
 

Namespaces

 genesis
 Container namespace for all symbols of genesis in order to keep them separate when used as a library.
 
 genesis::tree
 

Typedefs

using MassTreeEdge = TreeEdge
 Alias for a TreeEdge of a MassTree. See there for more information. More...
 
using MassTreeLink = TreeLink
 Alias for a TreeLink of a MassTree. See there for more information. More...
 
using MassTreeNode = TreeNode
 Alias for a TreeNode of a MassTree. See there for more information. More...
 

Functions

MassTree convert_common_tree_to_mass_tree (CommonTree const &source)
 Helper function that takes a CommonTree (or any Tree with Node and Edge data derived from it) and turns its data into an MassTree, that is, a Tree with MassTreeNodeData and MassTreeEdgeData. More...