Tapkee
KernelDistance< RandomAccessIterator, Callback > Struct Template Reference

#include <neighbors.hpp>

List of all members.

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

typedef KernelType type

Definition at line 52 of file neighbors.hpp.


Constructor & Destructor Documentation

KernelDistance ( const Callback &  cb)

Definition at line 43 of file neighbors.hpp.


Member Function Documentation

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

Definition at line 48 of file neighbors.hpp.

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

Definition at line 44 of file neighbors.hpp.


Member Data Documentation

Callback callback

Definition at line 53 of file neighbors.hpp.


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