truncated absolute differents between the labels of 2 variables More...
#include <truncated_absolute_difference.hxx>
Public Types | |
typedef T | ValueType |
typedef I | IndexType |
typedef L | LabelType |
Public Member Functions | |
TruncatedAbsoluteDifferenceFunction (const LabelType=2, const LabelType=2, const ValueType=ValueType(), const ValueType=ValueType()) | |
size_t | shape (const IndexType) const |
extension a value table encoding this function would have | |
size_t | size () const |
number of entries a value table encoding this function would have (used for I/O) | |
size_t | dimension () const |
template<class ITERATOR > | |
T | operator() (ITERATOR) const |
truncated absolute differents between the labels of 2 variables
Definition at line 15 of file truncated_absolute_difference.hxx.
typedef I opengm::TruncatedAbsoluteDifferenceFunction< T, I, L >::IndexType |
Definition at line 19 of file truncated_absolute_difference.hxx.
typedef L opengm::TruncatedAbsoluteDifferenceFunction< T, I, L >::LabelType |
Definition at line 20 of file truncated_absolute_difference.hxx.
typedef T opengm::TruncatedAbsoluteDifferenceFunction< T, I, L >::ValueType |
Definition at line 18 of file truncated_absolute_difference.hxx.
opengm::TruncatedAbsoluteDifferenceFunction< T, I, L >::TruncatedAbsoluteDifferenceFunction | ( | const LabelType | numberOfLabels1 = 2 , |
|
const LabelType | numberOfLabels2 = 2 , |
|||
const ValueType | parameter1 = ValueType() , |
|||
const ValueType | parameter2 = ValueType() | |||
) | [inline] |
Definition at line 63 of file truncated_absolute_difference.hxx.
size_t opengm::TruncatedAbsoluteDifferenceFunction< T, I, L >::dimension | ( | ) | const [inline] |
Definition at line 102 of file truncated_absolute_difference.hxx.
TruncatedAbsoluteDifferenceFunction< T, I, L >::ValueType opengm::TruncatedAbsoluteDifferenceFunction< T, I, L >::operator() | ( | ITERATOR | begin | ) | const [inline] |
Definition at line 79 of file truncated_absolute_difference.hxx.
size_t opengm::TruncatedAbsoluteDifferenceFunction< T, I, L >::shape | ( | const IndexType | i | ) | const [inline] |
extension a value table encoding this function would have
i | dimension |
Definition at line 92 of file truncated_absolute_difference.hxx.
size_t opengm::TruncatedAbsoluteDifferenceFunction< T, I, L >::size | ( | ) | const [inline] |
number of entries a value table encoding this function would have (used for I/O)
Definition at line 109 of file truncated_absolute_difference.hxx.