All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends Macros Pages
Public Member Functions | List of all members
paal::data_structures::euclidean_metric< T > Struct Template Reference

metric with euclidean distance More...

#include <euclidean_metric.hpp>

Public Member Functions

auto operator() (const std::pair< T, T > &p1, const std::pair< T, T > &p2) const -> decltype(std::hypot(p1.first-p2.first, p1.second-p2.second))

Detailed Description

template<typename T>
struct paal::data_structures::euclidean_metric< T >

metric with euclidean distance

Definition at line 29 of file euclidean_metric.hpp.

The documentation for this struct was generated from the following file: