The Fib multimedia system
Fib is a system for storing multimedia data (like images or films).
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
fib::algorithms::nCluster::cClusterFunExp< tDataPoint > Class Template Reference

#include <cClusterFunExp.h>

Inheritance diagram for fib::algorithms::nCluster::cClusterFunExp< tDataPoint >:
Collaboration diagram for fib::algorithms::nCluster::cClusterFunExp< tDataPoint >:

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
- Public Member Functions inherited from fib::algorithms::nCluster::iClusterFunction< tDataPoint >
virtual ~iClusterFunction ()
virtual double operator() (const std::pair< tDataPoint, unsigned long > &dataClusterCenter, const std::pair< tDataPoint, unsigned long > &dataPoint) const =0

Private Attributes

const iDistFunction< tDataPoint > * pDistFunction
const double dBaseFactor

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 >
fib::algorithms::nCluster::cClusterFunExp< tDataPoint >::cClusterFunExp ( const iDistFunction< tDataPoint > &  inDistFunction,
const double  dInBaseFactor 
)
inline

constructor

Parameters:
inDistFunctiona 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:
dInBaseFactorthe base factor for evaluing, if an data point is subsumed (
See also:
dBaseFactor)

Definition at line 82 of file cClusterFunExp.h.

template<class tDataPoint >
virtual fib::algorithms::nCluster::cClusterFunExp< tDataPoint >::~cClusterFunExp ( )
inlinevirtual

destructor

Definition at line 92 of file cClusterFunExp.h.


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:
dataClusterCenterthe data point, to wich to evalue the value that dataPoint is clustered to it
dataPointthe 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 >
const double fib::algorithms::nCluster::cClusterFunExp< tDataPoint >::dBaseFactor
private

The base factor for evaluing, if an data point is subsumed.

Definition at line 68 of file cClusterFunExp.h.

template<class tDataPoint >
const iDistFunction< tDataPoint >* fib::algorithms::nCluster::cClusterFunExp< tDataPoint >::pDistFunction
private

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: