DistanceFirstInitializedState< DistanceCallback > Class Template Reference

#include <chain_interface.hpp>

List of all members.

Public Member Functions

 DistanceFirstInitializedState (const ParametersSet &params, const DistanceCallback &callback)
template<class KernelCallback >
< KernelCallback,
DistanceCallback > 
withKernel (const KernelCallback &callback) const
template<class FeaturesCallback >
< DistanceCallback,
FeaturesCallback > 
withFeatures (const FeaturesCallback &callback) 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

Detailed Description

template<class DistanceCallback>
class tapkee::tapkee_internal::DistanceFirstInitializedState< DistanceCallback >

Definition at line 262 of file chain_interface.hpp.

Constructor & Destructor Documentation

DistanceFirstInitializedState ( const ParametersSet params,
const DistanceCallback &  callback 

Definition at line 265 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.

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

Definition at line 297 of file chain_interface.hpp.

TapkeeOutput embedUsing ( const Container &  container) const

Constructs an embedding using the data represented by the container.

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

Definition at line 310 of file chain_interface.hpp.

DistanceAndFeaturesInitializedState<DistanceCallback,FeaturesCallback> withFeatures ( const FeaturesCallback &  callback) const

Sets features callback.

callbacka callback that implements the
 vector(const RandomAccessIterator::value_type&, DenseVector&) 
member function which is used to obtain the feature vector pointed by the first argument.

Definition at line 287 of file chain_interface.hpp.

KernelAndDistanceInitializedState<KernelCallback,DistanceCallback> withKernel ( const KernelCallback &  callback) const

Sets kernel callback.

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 276 of file chain_interface.hpp.

Member Data Documentation

DistanceCallback distance [private]

Definition at line 316 of file chain_interface.hpp.

Definition at line 315 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