cheshirekow
v0.1.0
|
provides r2_s1 distance computation More...
#include <mpblocks/kd_tree/r2_s1/Distance.h>
Public Types | |
typedef Traits::Format_t | Format_t |
typedef Traits::HyperRect | Hyper_t |
typedef Eigen::Matrix < Format_t, Traits::NDim, 1 > | Point_t |
Public Member Functions | |
void | configure (Format_t min, Format_t max, Format_t weight) |
Distance () | |
Distance (Format_t min, Format_t max, Format_t weight) | |
Format_t | operator() (const Point_t &pa, const Point_t &pb) |
return the r2_s1 distance between two points More... | |
Format_t | operator() (const Point_t &p, const Hyper_t &h) |
return the r2_s1 distance between a point and hyper rectangle More... | |
Private Attributes | |
Format_t | m_max |
max interval More... | |
Format_t | m_min |
min interval More... | |
Format_t | m_weight |
weight of s1 in group metric, More... | |
provides r2_s1 distance computation
Definition at line 38 of file Distance.h.
typedef Traits::Format_t mpblocks::kd_tree::r2_s1::Distance< Traits >::Format_t |
Definition at line 41 of file Distance.h.
typedef Traits::HyperRect mpblocks::kd_tree::r2_s1::Distance< Traits >::Hyper_t |
Definition at line 42 of file Distance.h.
typedef Eigen::Matrix<Format_t,Traits::NDim,1> mpblocks::kd_tree::r2_s1::Distance< Traits >::Point_t |
Definition at line 44 of file Distance.h.
mpblocks::kd_tree::r2_s1::Distance< Traits >::Distance | ( | ) |
Definition at line 37 of file Distance.hpp.
mpblocks::kd_tree::r2_s1::Distance< Traits >::Distance | ( | Format_t | min, |
Format_t | max, | ||
Format_t | weight | ||
) |
Definition at line 44 of file Distance.hpp.
void mpblocks::kd_tree::r2_s1::Distance< Traits >::configure | ( | Format_t | min, |
Format_t | max, | ||
Format_t | weight | ||
) |
Definition at line 51 of file Distance.hpp.
Traits::Format_t mpblocks::kd_tree::r2_s1::Distance< Traits >::operator() | ( | const Point_t & | pa, |
const Point_t & | pb | ||
) |
return the r2_s1 distance between two points
Definition at line 63 of file Distance.hpp.
Traits::Format_t mpblocks::kd_tree::r2_s1::Distance< Traits >::operator() | ( | const Point_t & | p, |
const Hyper_t & | h | ||
) |
return the r2_s1 distance between a point and hyper rectangle
Definition at line 87 of file Distance.hpp.
|
private |
max interval
Definition at line 48 of file Distance.h.
|
private |
min interval
Definition at line 47 of file Distance.h.
|
private |
weight of s1 in group metric,
Definition at line 49 of file Distance.h.