Main Page Class Hierarchy Alphabetical List Compound List Compound Members
prapi::ProximityCombiner::WeightedSum Class Reference
Inheritance diagram for prapi::ProximityCombiner::WeightedSum:
List of all members.
A simple combiner that returns a weighted sum of the given proximities.
This combiner is useful when you need to scale your distance measures. See ProximityMatrix for an explanation on how to perform this. The functionality provided by the weighted sum combiner can be obtained using a ProximityMultiplier for each proximity measure.
ProximityMatrix , ProximityMultiplier
virtual ||~WeightedSum ()|
|void ||setWeight (int index, double weight)|
| ||Set the weight for a given proximity index. |
double ||getWeight (int index)|
| ||Get the weight for a given feature index.|
double ||combine (const List< double > &proximities)|
Member Function Documentation
| void prapi::ProximityCombiner::WeightedSum::setWeight
Set the weight for a given proximity index.
index of the proximity to be weighted |
the weight. Default value is 1. |
The documentation for this class was generated from the following file:
Documentation generated on 11.09.2003 with Doxygen.
The documentation is copyrighted material.
Copyright © Topi Mäenpää 2003. All rights reserved.