Tapkee
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
PlainDistance< RandomAccessIterator, Callback > Struct Template Reference

#include <neighbors.hpp>

Public Types

typedef DistanceType type
 

Public Member Functions

 PlainDistance (const Callback &cb)
 
ScalarType operator() (const RandomAccessIterator &l, const RandomAccessIterator &r)
 
ScalarType distance (const RandomAccessIterator &l, const RandomAccessIterator &r)
 

Public Attributes

Callback callback
 

Detailed Description

template<class RandomAccessIterator, class Callback>
struct tapkee::tapkee_internal::PlainDistance< RandomAccessIterator, Callback >

Definition at line 61 of file neighbors.hpp.

Member Typedef Documentation

typedef DistanceType type

Definition at line 72 of file neighbors.hpp.

Constructor & Destructor Documentation

PlainDistance ( const Callback &  cb)

Definition at line 63 of file neighbors.hpp.

Member Function Documentation

ScalarType distance ( const RandomAccessIterator &  l,
const RandomAccessIterator &  r 
)

Definition at line 68 of file neighbors.hpp.

ScalarType operator() ( const RandomAccessIterator &  l,
const RandomAccessIterator &  r 
)

Definition at line 64 of file neighbors.hpp.

Member Data Documentation

Callback callback

Definition at line 73 of file neighbors.hpp.


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