Tapkee
DistanceAndFeaturesInitializedState< DistanceCallback, FeaturesCallback > Class Template Reference

#include <chain_interface.hpp>

List of all members.

Public Member Functions

 DistanceAndFeaturesInitializedState (const ParametersSet &params, const DistanceCallback &d, const FeaturesCallback &f)
template<class KernelCallback >
CallbacksInitializedState
< KernelCallback,
DistanceCallback,
FeaturesCallback > 
withKernel (const KernelCallback &kernel) const
template<class RandomAccessIterator >
TapkeeOutput embedRange (RandomAccessIterator begin, RandomAccessIterator end) const
template<class Container >
TapkeeOutput embedUsing (const Container &container) const

Private Attributes

ParametersSet parameters
DistanceCallback distance
FeaturesCallback features

Detailed Description

template<class DistanceCallback, class FeaturesCallback>
class tapkee::tapkee_internal::DistanceAndFeaturesInitializedState< DistanceCallback, FeaturesCallback >

Definition at line 157 of file chain_interface.hpp.


Constructor & Destructor Documentation

DistanceAndFeaturesInitializedState ( const ParametersSet params,
const DistanceCallback &  d,
const FeaturesCallback &  f 
)

Definition at line 160 of file chain_interface.hpp.


Member Function Documentation

TapkeeOutput embedRange ( RandomAccessIterator  begin,
RandomAccessIterator  end 
) const

Constructs an embedding using the data represented by the begin and end iterators.

Parameters:
beginan iterator that points to the beginning of data container
endan iterator that points to the end of data container

Definition at line 181 of file chain_interface.hpp.

TapkeeOutput embedUsing ( const Container &  container) const

Constructs an embedding using the data represented by the container.

Parameters:
containera container that supports begin() and end() methods to get corresponding iterators

Definition at line 193 of file chain_interface.hpp.

CallbacksInitializedState<KernelCallback,DistanceCallback,FeaturesCallback> withKernel ( const KernelCallback &  kernel) const

Sets kernel callback.

Parameters:
callbacka callback that implements the
 kernel(const RandomAccessIterator::value_type&, const RandomAccessIterator::value_type&) 
member function which is used to compute kernel value (similarity) between two objects pointed by the first and the second arguments.

Definition at line 171 of file chain_interface.hpp.


Member Data Documentation

DistanceCallback distance [private]

Definition at line 199 of file chain_interface.hpp.

FeaturesCallback features [private]

Definition at line 200 of file chain_interface.hpp.

Definition at line 198 of file chain_interface.hpp.


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