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

truncated absolute differents between the labels of 2 variables More...

#include <truncated_absolute_difference.hxx>

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

List of all members.

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 >
operator() (ITERATOR) const

Detailed Description

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

truncated absolute differents between the labels of 2 variables

Definition at line 15 of file truncated_absolute_difference.hxx.


Member Typedef Documentation

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

Definition at line 19 of file truncated_absolute_difference.hxx.

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

Definition at line 20 of file truncated_absolute_difference.hxx.

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

Definition at line 18 of file truncated_absolute_difference.hxx.


Constructor & Destructor Documentation

template<class T , class I , class L >
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.


Member Function Documentation

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

Definition at line 102 of file truncated_absolute_difference.hxx.

template<class T , class I , class L >
template<class ITERATOR >
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.

Here is the call graph for this function:

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

extension a value table encoding this function would have

Parameters:
i dimension

Definition at line 92 of file truncated_absolute_difference.hxx.

template<class T , class I , class L >
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.

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