Tapkee
methods.hpp File Reference

Go to the source code of this file.

Classes

class  ImplementationBase< RandomAccessIterator, KernelCallback, DistanceCallback, FeaturesCallback >

Namespaces

namespace  tapkee
namespace  tapkee::tapkee_internal

Defines

#define tapkee_method_handle(X)
#define DM_MATRIX_OP   DenseImplicitSquareSymmetricMatrixOperation
#define MDS_MATRIX_OP   DenseMatrixOperation

Functions

template<class RandomAccessIterator , class KernelCallback , class DistanceCallback , class FeaturesCallback >
ImplementationBase
< RandomAccessIterator,
KernelCallback,
DistanceCallback,
FeaturesCallback > 
initialize (RandomAccessIterator begin, RandomAccessIterator end, KernelCallback kernel, DistanceCallback distance, FeaturesCallback features, ParametersSet &pmap, const Context &ctx)

Define Documentation

#define DM_MATRIX_OP   DenseImplicitSquareSymmetricMatrixOperation
#define MDS_MATRIX_OP   DenseMatrixOperation
#define tapkee_method_handle (   X)
Value:
case X:                                                                                 \
        {                                                                                       \
            timed_context tctx__("[+] embedding with " # X);                                    \
            ImplRef ref = conditional_select<                                                   \
                ((!MethodTraits<X>::needs_kernel)   || (!is_dummy<KernelCallback>::value))   && \
                ((!MethodTraits<X>::needs_distance) || (!is_dummy<DistanceCallback>::value)) && \
                ((!MethodTraits<X>::needs_features) || (!is_dummy<FeaturesCallback>::value)),   \
                    ImplRef>()(mem_fun_ref(&ImplementationBase::embed##X),                      \
                               mem_fun_ref(&ImplementationBase::embedEmpty));                   \
            return ref(*this);                                                                  \
        }                                                                                       \
        break                                                                                   \
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines