Tapkee
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

◆ type

typedef DistanceType type

Definition at line 72 of file neighbors.hpp.

Constructor & Destructor Documentation

◆ PlainDistance()

PlainDistance ( const Callback &  cb)

Definition at line 63 of file neighbors.hpp.

Member Function Documentation

◆ distance()

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

Definition at line 68 of file neighbors.hpp.

◆ operator()()

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

Definition at line 64 of file neighbors.hpp.

Member Data Documentation

◆ callback

Callback callback

Definition at line 73 of file neighbors.hpp.


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