A library for working with phylogenetic and population genetic data.
v0.27.0
tree/attribute_tree/tree.hpp File Reference
#include "genesis/tree/tree.hpp"
#include "genesis/tree/common_tree/tree.hpp"
#include "genesis/tree/function/operators.hpp"
#include <map>
#include <string>

Go to the source code of this file.

Classes

class  AttributeTreeEdgeData
 Data class for AttributeTreeEdges. More...
 
class  AttributeTreeNodeData
 Data class for AttributeTreeNodes. 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 AttributeTree = Tree
 Alias for a Tree that stores TreeNodes and TreeEdges with string attributes on them. More...
 
using AttributeTreeEdge = TreeEdge
 Alias for a TreeEdge of an AttributeTree. See there for more information. More...
 
using AttributeTreeLink = TreeLink
 Alias for a TreeLink of an AttributeTree. See there for more information. More...
 
using AttributeTreeMap = std::map< std::string, std::string >
 Alias for the map type used by an AttributeTree. More...
 
using AttributeTreeNode = TreeNode
 Alias for a TreeNode of an AttributeTree. See there for more information. More...
 

Functions

AttributeTree convert_common_tree_to_attribute_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 AttributeTree, that is, a Tree with AttributeTreeNodeData and AttributeTreeEdgeData. More...