45 #ifndef ___C_CLUSTER_FUN_EXP__
46 #define ___C_CLUSTER_FUN_EXP__
57 template<
class tDataPo
int >
83 const double dInBaseFactor ):
116 virtual double operator() (
const pair< tDataPoint, unsigned long > & dataClusterCenter,
117 const pair< tDataPoint, unsigned long > & dataPoint )
const{
119 return dataClusterCenter.second - dataPoint.second * pow(
dBaseFactor,
120 (*
pDistFunction)( dataClusterCenter.first, dataPoint.first ) );
132 #endif //___C_CLUSTER_FUN_EXP__