libDAI
Public Member Functions | List of all members
dai::fo_min< T > Struct Template Reference

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

#include <dai/prob.h>

Inherits binary_function< T, T, T >.

Public Member Functions

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

Detailed Description

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

Function object that returns the minimum of two values.

Member Function Documentation

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

Returns (x > y ? y : x)


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