dai::fo_max< T > Struct Template Reference

Function object that returns the maximum of two values. More...

#include <dai/prob.h>

List of all members.

Public Member Functions

operator() (const T &x, const T &y) const
 Returns (x > y ? x : y).

Detailed Description

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

Function object that returns the maximum of two values.


Member Function Documentation

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

Returns (x > y ? x : y).


The documentation for this struct was generated from the following file:
Generated on Sun May 9 16:51:37 2010 for libDAI by  doxygen 1.6.3