![]() |
Quetzal-CoaTL
The Coalescence Template Library
|
#include <quetzal/coalescence/graph/detail/tree_traits.hpp>
Defines the desired graph properties and constraints for a coalescent tree.
Public Types | |
template<class... Types> | |
using | model = boost::adjacency_list< Types... > |
Trees are sparse graph in nature, adjacency_matrix would not be justified here. | |
using | out_edge_list_type = boost::setS |
We want to enforce avoiding multi-graphs (edges with same end nodes) | |
using | vertex_list_type = boost::vecS |
We don't allow for inserting vertices except at the end and we don't remove vertices. This means that neither reallocation cost nor stability are reasons for preferring listS to vecS. | |
using | directed_type = boost::bidirectionalS |
Coalescent trees are directed acyclic graphs but we need bidirectionality for in-edges access. | |
using quetzal::coalescence::detail::tree_traits::directed_type = boost::bidirectionalS |
Coalescent trees are directed acyclic graphs but we need bidirectionality for in-edges access.