dai::fo_absdiff< T > Struct Template Reference

Function object that returns the absolute difference of x and y. More...

#include <dai/prob.h>

List of all members.

Public Member Functions

operator() (const T &x, const T &y) const
 Returns abs( x - y ).


Detailed Description

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

Function object that returns the absolute difference of x and y.

Member Function Documentation

template<typename T>
T dai::fo_absdiff< T >::operator() ( const T &  x,
const T &  y 
) const [inline]

Returns abs( x - y ).


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