#include <cClusterFunExp.h>
List of all members.
Public Member Functions |
| cClusterFunExp (const iDistFunction< tDataPoint > &inDistFunction, const double dInBaseFactor) |
virtual | ~cClusterFunExp () |
virtual double | operator() (const pair< tDataPoint, unsigned long > &dataClusterCenter, const pair< tDataPoint, unsigned long > &dataPoint) const |
virtual | ~iClusterFunction () |
virtual double | operator() (const std::pair< tDataPoint, unsigned long > &dataClusterCenter, const std::pair< tDataPoint, unsigned long > &dataPoint) const =0 |
Detailed Description
template<class tDataPoint>
class fib::algorithms::nCluster::cClusterFunExp< tDataPoint >
Definition at line 58 of file cClusterFunExp.h.
Constructor & Destructor Documentation
template<class tDataPoint >
constructor
- Parameters:
-
inDistFunction | a reference vor the functor to evalue the distance of two data points; ( |
- See also:
- pDistFunction) Beware: As long as this object is used inDistFunction shouldn't be deleted.
- Parameters:
-
dInBaseFactor | the base factor for evaluing, if an data point is subsumed ( |
- See also:
- dBaseFactor)
Definition at line 82 of file cClusterFunExp.h.
template<class tDataPoint >
Member Function Documentation
template<class tDataPoint >
virtual double fib::algorithms::nCluster::cClusterFunExp< tDataPoint >::operator() |
( |
const pair< tDataPoint, unsigned long > & |
dataClusterCenter, |
|
|
const pair< tDataPoint, unsigned long > & |
dataPoint |
|
) |
| const |
|
inlinevirtual |
This operator should evalue a cluster value for two data points. The value should indicate, how good it is to cluster the data point dataPoint to the dataClusterCenter.
An data point dataPoint can be in the cluster to an other data point dataClusterCenter, if: dataClusterCenter.second > dataPoint.second * dBaseFactor ^ distFunction( dataClusterCenter.first, dataPoint.first ) If ther are more data points C_i for which the formulare is fulfilled, the data point will be mapped to the data point wher C_i.second - dataPoint.second * dBaseFactor ^ distFunction( C_i.first, dataPoint.first ) is the maximal. (
- See also:
- pDistFunction and
-
dBaseFactor)
- Parameters:
-
dataClusterCenter | the data point, to wich to evalue the value that dataPoint is clustered to it |
dataPoint | the data point to cluster/subsume by dataClusterCenter |
- Returns:
- the cluster value for dataClusterCenter and dataPoint
Definition at line 116 of file cClusterFunExp.h.
Member Data Documentation
template<class tDataPoint >
The base factor for evaluing, if an data point is subsumed.
Definition at line 68 of file cClusterFunExp.h.
template<class tDataPoint >
The functor to evalue the distance of two data points.
Definition at line 63 of file cClusterFunExp.h.
The documentation for this class was generated from the following file: