A library for working with phylogenetic and population genetic data.
v0.27.0
path_set.hpp File Reference
#include "genesis/tree/tree.hpp"
#include "genesis/tree/function/functions.hpp"
#include "genesis/utils/containers/range.hpp"
#include <cassert>
#include <iterator>
#include <stdexcept>
#include <type_traits>
#include <vector>

Go to the source code of this file.

Classes

class  IteratorPathSet< is_const >
 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< false > > path_set (ElementType &start, ElementType &finish, ElementType &lca)
 
template<typename ElementType >
utils::Range< IteratorPathSet< true > > path_set (ElementType const &start, ElementType const &finish, ElementType const &lca)