opengm::ScaledViewFunction< GM > Class Template Reference
[Function Types]

Function that scales a factor of another graphical model. More...

#include <scaled_view.hxx>

Inheritance diagram for opengm::ScaledViewFunction< GM >:
Inheritance graph
[legend]
Collaboration diagram for opengm::ScaledViewFunction< GM >:
Collaboration graph
[legend]

List of all members.

Public Types

typedef GM::ValueType ValueType
typedef GM::IndexType IndexType
typedef GM::LabelType LabelType
typedef GM::OperatorType OperatorType

Public Member Functions

 ScaledViewFunction (const std::vector< IndexType > &)
 Constructor.
 ScaledViewFunction (const GM &, const IndexType, const ValueType)
template<class Iterator >
ValueType operator() (Iterator begin) const
size_t dimension () const
size_t shape (const size_t) const
size_t size () const

Detailed Description

template<class GM>
class opengm::ScaledViewFunction< GM >

Function that scales a factor of another graphical model.

Definition at line 12 of file scaled_view.hxx.


Member Typedef Documentation

template<class GM>
typedef GM::IndexType opengm::ScaledViewFunction< GM >::IndexType

Definition at line 20 of file scaled_view.hxx.

template<class GM>
typedef GM::LabelType opengm::ScaledViewFunction< GM >::LabelType

Definition at line 21 of file scaled_view.hxx.

template<class GM>
typedef GM::OperatorType opengm::ScaledViewFunction< GM >::OperatorType

Definition at line 22 of file scaled_view.hxx.

template<class GM>
typedef GM::ValueType opengm::ScaledViewFunction< GM >::ValueType

Definition at line 19 of file scaled_view.hxx.


Constructor & Destructor Documentation

template<class GM >
opengm::ScaledViewFunction< GM >::ScaledViewFunction ( const std::vector< IndexType > &  shape  )  [inline]

Constructor.

Parameters:
shape shape of the function

Definition at line 67 of file scaled_view.hxx.

template<class GM>
opengm::ScaledViewFunction< GM >::ScaledViewFunction ( const GM &  ,
const   IndexType,
const   ValueType 
)

Member Function Documentation

template<class GM >
size_t opengm::ScaledViewFunction< GM >::dimension (  )  const [inline]

Definition at line 114 of file scaled_view.hxx.

template<class GM >
template<class Iterator >
ScaledViewFunction< GM >::ValueType opengm::ScaledViewFunction< GM >::operator() ( Iterator  begin  )  const [inline]

Definition at line 92 of file scaled_view.hxx.

template<class GM >
size_t opengm::ScaledViewFunction< GM >::shape ( const size_t  i  )  const [inline]

Definition at line 106 of file scaled_view.hxx.

template<class GM >
size_t opengm::ScaledViewFunction< GM >::size (  )  const [inline]

Definition at line 83 of file scaled_view.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