A toolkit for working with phylogenetic data.
v0.19.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
utils/math/histogram/distances.cpp File Reference

Detailed Description

Implementation of Histogram distance functions.

Definition in file utils/math/histogram/distances.cpp.

#include "genesis/utils/math/histogram/distances.hpp"
#include <assert.h>
#include <cmath>
#include <stdexcept>
#include <vector>
#include "genesis/utils/math/histogram.hpp"
#include "genesis/utils/math/histogram/operations.hpp"

Go to the source code of this file.

Namespaces

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

Functions

double earth_movers_distance (const Histogram &h1, const Histogram &h2, bool norm)