Tapkee
KernelDistance< RandomAccessIterator, Callback > Struct Template Reference

#include <neighbors.hpp>

Public Types

typedef KernelType type
 

Public Member Functions

 KernelDistance (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::KernelDistance< RandomAccessIterator, Callback >

Definition at line 41 of file neighbors.hpp.

Member Typedef Documentation

◆ type

typedef KernelType type

Definition at line 52 of file neighbors.hpp.

Constructor & Destructor Documentation

◆ KernelDistance()

KernelDistance ( const Callback &  cb)

Definition at line 43 of file neighbors.hpp.

Member Function Documentation

◆ distance()

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

Definition at line 48 of file neighbors.hpp.

◆ operator()()

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

Definition at line 44 of file neighbors.hpp.

Member Data Documentation

◆ callback

Callback callback

Definition at line 53 of file neighbors.hpp.


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