Function that refers to a factor of another GraphicalModel. More...
#include <modelviewfunction.hxx>
Public Types | |
typedef GM | GraphicalModelType |
typedef MARRAY | OffsetType |
typedef GM::ValueType | ValueType |
typedef GM::ValueType | value_type |
typedef GM::IndexType | IndexType |
typedef GM::LabelType | LabelType |
Public Member Functions | |
ModelViewFunction (const GraphicalModelType &gm, const IndexType factorIndex, const ValueType scale, OffsetType const *offset) | |
ModelViewFunction (const GraphicalModelType &gm, const IndexType factorIndex, const ValueType scale) | |
ModelViewFunction (OffsetType const *offset) | |
Constructor. | |
template<class Iterator > | |
ValueType | operator() (Iterator begin) const |
size_t | size () const |
LabelType | shape (const size_t i) const |
size_t | dimension () const |
Function that refers to a factor of another GraphicalModel.
GM | type of the graphical model which we want to view | |
MARRAY | type of the array that holds the offset |
Definition at line 16 of file modelviewfunction.hxx.
typedef GM opengm::ModelViewFunction< GM, MARRAY >::GraphicalModelType |
Definition at line 23 of file modelviewfunction.hxx.
typedef GM::IndexType opengm::ModelViewFunction< GM, MARRAY >::IndexType |
Definition at line 27 of file modelviewfunction.hxx.
typedef GM::LabelType opengm::ModelViewFunction< GM, MARRAY >::LabelType |
Definition at line 28 of file modelviewfunction.hxx.
typedef MARRAY opengm::ModelViewFunction< GM, MARRAY >::OffsetType |
Definition at line 24 of file modelviewfunction.hxx.
typedef GM::ValueType opengm::ModelViewFunction< GM, MARRAY >::value_type |
Definition at line 26 of file modelviewfunction.hxx.
typedef GM::ValueType opengm::ModelViewFunction< GM, MARRAY >::ValueType |
Definition at line 25 of file modelviewfunction.hxx.
opengm::ModelViewFunction< GM, MARRAY >::ModelViewFunction | ( | const GraphicalModelType & | gm, | |
const IndexType | factorIndex, | |||
const ValueType | scale, | |||
OffsetType const * | offset | |||
) |
opengm::ModelViewFunction< GM, MARRAY >::ModelViewFunction | ( | const GraphicalModelType & | gm, | |
const IndexType | factorIndex, | |||
const ValueType | scale | |||
) |
opengm::ModelViewFunction< GM, MARRAY >::ModelViewFunction | ( | OffsetType const * | offset | ) | [inline] |
Constructor.
offset | pointer to the offset marray |
Definition at line 105 of file modelviewfunction.hxx.
size_t opengm::ModelViewFunction< GM, MARRAY >::dimension | ( | ) | const [inline] |
Definition at line 171 of file modelviewfunction.hxx.
opengm::ModelViewFunction< GM, MARRAY >::ValueType opengm::ModelViewFunction< GM, MARRAY >::operator() | ( | Iterator | begin | ) | const [inline] |
Definition at line 120 of file modelviewfunction.hxx.
ModelViewFunction< GM, MARRAY >::LabelType opengm::ModelViewFunction< GM, MARRAY >::shape | ( | const size_t | i | ) | const [inline] |
Definition at line 139 of file modelviewfunction.hxx.
size_t opengm::ModelViewFunction< GM, MARRAY >::size | ( | ) | const [inline] |
Definition at line 156 of file modelviewfunction.hxx.