Potts function in N variables. More...
#include <pottsn.hxx>
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 |
Potts function in N variables.
Definition at line 18 of file pottsn.hxx.
typedef I opengm::PottsNFunction< T, I, L >::IndexType |
Definition at line 22 of file pottsn.hxx.
typedef L opengm::PottsNFunction< T, I, L >::LabelType |
Definition at line 23 of file pottsn.hxx.
typedef T opengm::PottsNFunction< T, I, L >::value_type |
Definition at line 24 of file pottsn.hxx.
typedef T opengm::PottsNFunction< T, I, L >::ValueType |
Definition at line 21 of file pottsn.hxx.
opengm::PottsNFunction< T, I, L >::PottsNFunction | ( | ) | [inline] |
Definition at line 90 of file pottsn.hxx.
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.
size_t opengm::PottsNFunction< T, I, L >::dimension | ( | ) | const [inline] |
Definition at line 125 of file pottsn.hxx.
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.
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.
T opengm::PottsNFunction< T, I, L >::operator() | ( | ITERATOR | begin | ) | const [inline] |
Definition at line 101 of file pottsn.hxx.
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.
size_t opengm::PottsNFunction< T, I, L >::size | ( | ) | const [inline] |
Definition at line 131 of file pottsn.hxx.