|
OpenGM
2.3.x
Discrete Graphical Model Library
|
reference to a Factor of a GraphicalModel More...
#include <view.hxx>
Inheritance diagram for opengm::ViewFunction< GM >:
Collaboration diagram for opengm::ViewFunction< GM >:Public Types | |
| typedef GM::ValueType | ValueType |
| typedef ValueType | value_type |
| typedef GM::FactorType | FactorType |
| typedef GM::OperatorType | OperatorType |
| typedef GM::IndexType | IndexType |
| typedef GM::LabelType | LabelType |
Public Types inherited from opengm::FunctionBase< ViewFunction< GM >, GM::ValueType, GM::IndexType, GM::LabelType > | |
| typedef AccessorIterator< FunctionShapeAccessorType, true > | FunctionShapeIteratorType |
Public Member Functions | |
| ViewFunction () | |
| ViewFunction (const FactorType &) | |
| template<class Iterator > | |
| ValueType | operator() (Iterator begin) const |
| LabelType | shape (const IndexType) const |
| IndexType | dimension () const |
| IndexType | size () const |
Public Member Functions inherited from opengm::FunctionBase< ViewFunction< GM >, GM::ValueType, GM::IndexType, GM::LabelType > | |
| bool | isPotts () const |
| bool | isGeneralizedPotts () const |
| bool | isSubmodular () const |
| bool | isSquaredDifference () const |
| bool | isTruncatedSquaredDifference () const |
| bool | isAbsoluteDifference () const |
| bool | isTruncatedAbsoluteDifference () const |
| bool | isLinearConstraint () const |
| MinMaxFunctor< GM::ValueType > | minMax () const |
| find minimum and maximum of the function in a single sweep More... | |
| ReturnType | min () const |
| ReturnType | max () const |
| ReturnType | sum () const |
| ReturnType | product () const |
| ReturnType | accumulate () const |
| accumulate all values of the function More... | |
| void | forAllValuesInOrder (FUNCTOR &functor) const |
| call a functor for each value of the function (in lexicographical order of the variable indices) More... | |
| void | forAllValuesInSwitchedOrder (FUNCTOR &functor) const |
| void | forAllValuesInAnyOrder (FUNCTOR &functor) const |
| call a functor for each value of the function (in un-specified order) More... | |
| void | forAtLeastAllUniqueValues (FUNCTOR &functor) const |
| call a functor for at least all unique values of the function More... | |
| void | forAllValuesInOrderWithCoordinate (COORDINATE_FUNCTOR &functor) const |
| void | forAllValuesInAnyOrderWithCoordinate (COORDINATE_FUNCTOR &functor) const |
| void | forAtLeastAllUniqueValuesWithCoordinate (COORDINATE_FUNCTOR &functor) const |
| bool | operator== (const ViewFunction< GM > &) const |
| FunctionShapeIteratorType | functionShapeBegin () const |
| FunctionShapeIteratorType | functionShapeEnd () const |
| size_t | numberOfParameters () const |
| GM::IndexType | parameterIndex (const size_t paramNumber) const |
reference to a Factor of a GraphicalModel
| typedef GM::FactorType opengm::ViewFunction< GM >::FactorType |
| typedef GM::IndexType opengm::ViewFunction< GM >::IndexType |
| typedef GM::LabelType opengm::ViewFunction< GM >::LabelType |
| typedef GM::OperatorType opengm::ViewFunction< GM >::OperatorType |
| typedef ValueType opengm::ViewFunction< GM >::value_type |
| typedef GM::ValueType opengm::ViewFunction< GM >::ValueType |
|
inline |
| opengm::ViewFunction< GM >::ViewFunction | ( | const FactorType & | ) |
|
inline |
|
inline |
|
inline |
|
inline |
1.8.9.1