opengm::PottsNFunction< T, I, L > Class Template Reference
[Function Types]

Potts function in N variables. More...

#include <pottsn.hxx>

Inheritance diagram for opengm::PottsNFunction< T, I, L >:
Inheritance graph
[legend]
Collaboration diagram for opengm::PottsNFunction< T, I, L >:
Collaboration graph
[legend]

List of all members.

Public Types

typedef T ValueType
typedef I IndexType
typedef L LabelType
typedef T value_type

Public Member Functions

 PottsNFunction ()
template<class ITERATOR >
 PottsNFunction (ITERATOR, ITERATOR, const T, const T)
LabelType shape (const size_t) const
size_t size () const
size_t dimension () const
template<class ITERATOR >
ValueType operator() (ITERATOR) const
bool isPotts () const
bool isGeneralizedPotts () const

Detailed Description

template<class T, class I = size_t, class L = size_t>
class opengm::PottsNFunction< T, I, L >

Potts function in N variables.

Definition at line 18 of file pottsn.hxx.


Member Typedef Documentation

template<class T, class I = size_t, class L = size_t>
typedef I opengm::PottsNFunction< T, I, L >::IndexType

Definition at line 22 of file pottsn.hxx.

template<class T, class I = size_t, class L = size_t>
typedef L opengm::PottsNFunction< T, I, L >::LabelType

Definition at line 23 of file pottsn.hxx.

template<class T, class I = size_t, class L = size_t>
typedef T opengm::PottsNFunction< T, I, L >::value_type

Definition at line 24 of file pottsn.hxx.

template<class T, class I = size_t, class L = size_t>
typedef T opengm::PottsNFunction< T, I, L >::ValueType

Definition at line 21 of file pottsn.hxx.


Constructor & Destructor Documentation

template<class T , class I , class L >
opengm::PottsNFunction< T, I, L >::PottsNFunction (  )  [inline]

Definition at line 90 of file pottsn.hxx.

template<class T , class I , class L >
template<class ITERATOR >
opengm::PottsNFunction< T, I, L >::PottsNFunction ( ITERATOR  shapeBegin,
ITERATOR  shapeEnd,
const T  valueEqual,
const T  valueNotEqual 
) [inline]

Definition at line 74 of file pottsn.hxx.


Member Function Documentation

template<class T , class I , class L >
size_t opengm::PottsNFunction< T, I, L >::dimension (  )  const [inline]

Definition at line 125 of file pottsn.hxx.

template<class T, class I = size_t, class L = size_t>
bool opengm::PottsNFunction< T, I, L >::isGeneralizedPotts (  )  const [inline]

Reimplemented from opengm::FunctionBase< PottsNFunction< T, I, L >, T, I, L >.

Definition at line 34 of file pottsn.hxx.

template<class T, class I = size_t, class L = size_t>
bool opengm::PottsNFunction< T, I, L >::isPotts (  )  const [inline]

Reimplemented from opengm::FunctionBase< PottsNFunction< T, I, L >, T, I, L >.

Definition at line 32 of file pottsn.hxx.

template<class T , class I , class L >
template<class ITERATOR >
T opengm::PottsNFunction< T, I, L >::operator() ( ITERATOR  begin  )  const [inline]

Definition at line 101 of file pottsn.hxx.

template<class T , class I , class L >
PottsNFunction< T, I, L >::LabelType opengm::PottsNFunction< T, I, L >::shape ( const size_t  i  )  const [inline]

Definition at line 116 of file pottsn.hxx.

template<class T , class I , class L >
size_t opengm::PottsNFunction< T, I, L >::size (  )  const [inline]

Definition at line 131 of file pottsn.hxx.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Generated on Mon Jun 17 16:31:10 2013 for OpenGM by  doxygen 1.6.3