dai::fo_Hellinger< T > Struct Template Reference

Function object useful for calculating the Hellinger distance. More...

#include <dai/prob.h>

List of all members.

Public Member Functions

operator() (const T &p, const T &q) const
 Returns (sqrt(p) - sqrt(q))^2.


Detailed Description

template<typename T>
struct dai::fo_Hellinger< T >

Function object useful for calculating the Hellinger distance.

Member Function Documentation

template<typename T>
T dai::fo_Hellinger< T >::operator() ( const T &  p,
const T &  q 
) const [inline]

Returns (sqrt(p) - sqrt(q))^2.


The documentation for this struct was generated from the following file:

Generated on Thu Aug 5 19:04:07 2010 for libDAI by  doxygen 1.5.5