Weight function that computes the inner product between node descriptor vectors. More...
#include <InnerProduct.h>
Public Member Functions | |
| double | getWeight (double *x, double *y, int d) |
Weight function that computes the inner product between node descriptor vectors.
| double InnerProduct::getWeight | ( | double * | x, |
| double * | y, | ||
| int | d | ||
| ) | [virtual]
|
returns the weight between nodes with descriptors x and y of dimensionality d
| [in] | x | vector descriptor for first node |
| [in] | y | vector descriptor for second node |
| [in] | d | dimensionality of vector descriptors (length of vectors) |
Reimplemented from WeightFunction.
1.7.2-20101118