DistanceComparator< RandomAccessIterator, DistanceCallback > Struct Template Reference

#include <vptree.hpp>

List of all members.

Public Member Functions

 DistanceComparator (const DistanceCallback &c, const RandomAccessIterator &i)
bool operator() (const RandomAccessIterator &a, const RandomAccessIterator &b)

Public Attributes

DistanceCallback callback
const RandomAccessIterator item

Detailed Description

template<class RandomAccessIterator, class DistanceCallback>
struct tapkee::tapkee_internal::DistanceComparator< RandomAccessIterator, DistanceCallback >

Definition at line 27 of file neighbors/vptree.hpp.

Constructor & Destructor Documentation

DistanceComparator ( const DistanceCallback &  c,
const RandomAccessIterator &  i 

Definition at line 31 of file neighbors/vptree.hpp.

Member Function Documentation

bool operator() ( const RandomAccessIterator &  a,
const RandomAccessIterator &  b 

Definition at line 33 of file neighbors/vptree.hpp.

Member Data Documentation

DistanceCallback callback

Definition at line 29 of file neighbors/vptree.hpp.

const RandomAccessIterator item

Definition at line 30 of file neighbors/vptree.hpp.

The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines