Patate Lib  0.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Pages
Grenaille::Concept::WeightFuncConcept< Point > Class Template Reference

Inherited by Grenaille::DistWeightFunc< DataPoint, WeightKernel >.

Detailed Description

template<class Point>
class Grenaille::Concept::WeightFuncConcept< Point >

Applies a Concept::WeightKernelConcept to a Concept::PointConcept query.

Public Types

typedef DataPoint::Scalar Scalar
 
typedef DataPoint::VectorType VectorType
 

Public Member Functions

Scalar w (const VectorType &relativeQuery, const DataPoint &attributes) const
 Apply the weight function to a query.
 
VectorType spacedw (const VectorType &relativeQuery, const DataPoint &attributes) const
 Apply the weight function differenciated in space to a query.
 
Scalar scaledw (const VectorType &relativeQuery, const DataPoint &attributes) const
 Apply the weight function differenciated in scale to a query.
 
Scalar evalScale () const
 Read access to the evaluation scale.