Embedder Class Reference

The abstract embedder. More...

Inheritance diagram for Embedder:

HyperPlaneEmbedder StripeEmbedder List of all members.

Public Member Functions

virtual unsigned dim () const =0
 The dimension of the output histogram.
virtual void add (float *out, const float *in, float weight) const =0
 Add a point to the output histogram with weight.
void add (float *out, const float *in) const
 Add a point to the output histogram with weight = 1.
void zero (float *out) const
 Initialize the output histogram to zeros.
void scale (float *out, float s) const
 Scale the output histogram by *s.
void norm (float *out) const
 Normalize the output histogram to a unit vector.

Detailed Description

The abstract embedder.

An Embedder class only have to implement two virtual functions: dim() and add().


The documentation for this class was generated from the following file:
Get LSHKIT at SourceForge.net. Fast, secure and Free Open Source software downloads doxygen