A toolkit for working with phylogenetic data.
v0.20.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
path_set.hpp File Reference
#include "genesis/tree/tree.hpp"
#include "genesis/tree/function/functions.hpp"
#include "genesis/utils/core/range.hpp"
#include <assert.h>
#include <iterator>
#include <stdexcept>
#include <vector>

Go to the source code of this file.

Classes

class  IteratorPathSet< LinkType, NodeType, EdgeType >
 Iterate the path between two TreeNodes (non-linearily), given their lowest common ancestor (LCA). More...
 

Namespaces

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

Functions

template<typename ElementType >
utils::Range< IteratorPathSet
< TreeLink const, TreeNode
const, TreeEdge const > > 
path_set (ElementType const &start, ElementType const &finish, ElementType const &lca)
 
template<typename ElementType >
utils::Range< IteratorPathSet
< TreeLink, TreeNode, TreeEdge > > 
path_set (ElementType &start, ElementType &finish, ElementType &lca)