opengm::StaticSingleSiteFunction< T, SIZE, STORAGE > Class Template Reference
[Function Types]

Single site function whose size is fixed at compile time. More...

#include <singlesitefunction.hxx>

Inheritance diagram for opengm::StaticSingleSiteFunction< T, SIZE, STORAGE >:
Inheritance graph
[legend]
Collaboration diagram for opengm::StaticSingleSiteFunction< T, SIZE, STORAGE >:
Collaboration graph
[legend]

List of all members.

Public Types

typedef T ValueType
typedef T value_type

Public Member Functions

 StaticSingleSiteFunction ()
 StaticSingleSiteFunction (const StaticSingleSiteFunction &other)
StaticSingleSiteFunctionoperator= (const StaticSingleSiteFunction &other)
template<class ITERATOR >
const T & operator() (ITERATOR iter) const
template<class ITERATOR >
T & operator() (ITERATOR iter)
size_t size () const
size_t dimension () const
size_t shape (const size_t index) const

Detailed Description

template<class T, size_t SIZE, template< typename, size_t > class STORAGE>
class opengm::StaticSingleSiteFunction< T, SIZE, STORAGE >

Single site function whose size is fixed at compile time.

Definition at line 82 of file singlesitefunction.hxx.


Member Typedef Documentation

template<class T , size_t SIZE, template< typename, size_t > class STORAGE>
typedef T opengm::StaticSingleSiteFunction< T, SIZE, STORAGE >::value_type

Definition at line 88 of file singlesitefunction.hxx.

template<class T , size_t SIZE, template< typename, size_t > class STORAGE>
typedef T opengm::StaticSingleSiteFunction< T, SIZE, STORAGE >::ValueType

Definition at line 87 of file singlesitefunction.hxx.


Constructor & Destructor Documentation

template<class T , size_t SIZE, template< typename, size_t > class STORAGE>
opengm::StaticSingleSiteFunction< T, SIZE, STORAGE >::StaticSingleSiteFunction (  )  [inline]

Definition at line 90 of file singlesitefunction.hxx.

template<class T , size_t SIZE, template< typename, size_t > class STORAGE>
opengm::StaticSingleSiteFunction< T, SIZE, STORAGE >::StaticSingleSiteFunction ( const StaticSingleSiteFunction< T, SIZE, STORAGE > &  other  )  [inline]

Definition at line 91 of file singlesitefunction.hxx.


Member Function Documentation

template<class T , size_t SIZE, template< typename, size_t > class STORAGE>
size_t opengm::StaticSingleSiteFunction< T, SIZE, STORAGE >::dimension (  )  const [inline]

Definition at line 124 of file singlesitefunction.hxx.

template<class T , size_t SIZE, template< typename, size_t > class STORAGE>
template<class ITERATOR >
T& opengm::StaticSingleSiteFunction< T, SIZE, STORAGE >::operator() ( ITERATOR  iter  )  [inline]

Definition at line 115 of file singlesitefunction.hxx.

template<class T , size_t SIZE, template< typename, size_t > class STORAGE>
template<class ITERATOR >
const T& opengm::StaticSingleSiteFunction< T, SIZE, STORAGE >::operator() ( ITERATOR  iter  )  const [inline]

Definition at line 109 of file singlesitefunction.hxx.

template<class T , size_t SIZE, template< typename, size_t > class STORAGE>
StaticSingleSiteFunction& opengm::StaticSingleSiteFunction< T, SIZE, STORAGE >::operator= ( const StaticSingleSiteFunction< T, SIZE, STORAGE > &  other  )  [inline]

Definition at line 99 of file singlesitefunction.hxx.

template<class T , size_t SIZE, template< typename, size_t > class STORAGE>
size_t opengm::StaticSingleSiteFunction< T, SIZE, STORAGE >::shape ( const size_t  index  )  const [inline]

Definition at line 127 of file singlesitefunction.hxx.

template<class T , size_t SIZE, template< typename, size_t > class STORAGE>
size_t opengm::StaticSingleSiteFunction< T, SIZE, STORAGE >::size (  )  const [inline]

Definition at line 121 of file singlesitefunction.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