Weight function superclass Objects of this class contain a method that computes an edge weight given the node descriptors. More...
#include <WeightFunction.h>
Public Member Functions | |
| virtual double | getWeight (double *x, double *y, int d) |
Weight function superclass Objects of this class contain a method that computes an edge weight given the node descriptors.
| double WeightFunction::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 in EuclideanDistance, and InnerProduct.
1.7.2-20101118