#include <wdk.h>
Collaboration diagram for WDKDataClass:

Public Member Functions | |
| WDKDataClass (const char *aS) | |
| string | Serialize () |
| RealType | operator * (const WDKDataClass &aInstance) const |
Public Attributes | |
| RealType | mNorm |
| RealType | mInverseSquaredNorm |
Protected Member Functions | |
| void | Optimize () |
| void | ComputeNormalizationFactor () |
| RealType | Product (const WDKDataClass &aInstance) const |
Protected Attributes | |
| DotSparseVectorClass< IndexConcreteType, PartClass > | mPart |
| string | mSerialized |
Friends | |
| ostream & | operator<< (ostream &out, const WDKDataClass &data) |
| istream & | operator>> (istream &in, WDKDataClass &data) throw (exception) |
|
|
WDKDataClass takes in input a formatted string (see Introductory documentation for an explanation of the format) parses it and builds an optimized data structure to perform the weighted decompositional kernel. Here is the call graph for this function: ![]() |
|
|
Computes and stores in member variables the Norm and the 1/sqrt(Norm) for efficiency. Here is the call graph for this function: ![]() |
|
|
Returns the kernel between two data objects that can be one of the dot product or the histogram intersection kernel. Here is the call graph for this function: ![]() |
|
|
Optimize merges all parts with same part type (selector) for a faster computation of the kernel Here is the call graph for this function: ![]() |
|
|
Product returns the non normalized kernel |
|
|
Serialize returns the input data in its string format previous of any optimization for output purposes |
|
|
Sparse vector of Parts data structures |
|
|
String representation of data |
1.4.4