|
OpenGM
2.3.x
Discrete Graphical Model Library
|
Single site function whose size is fixed at compile time. More...
#include <singlesitefunction.hxx>
Inheritance diagram for opengm::StaticSingleSiteFunction< T, SIZE, STORAGE >:
Collaboration diagram for opengm::StaticSingleSiteFunction< T, SIZE, STORAGE >:Public Types | |
| typedef T | ValueType |
| typedef T | value_type |
Public Types inherited from opengm::FunctionBase< StaticSingleSiteFunction< T, SIZE, STORAGE >, T, size_t, size_t > | |
| typedef AccessorIterator< FunctionShapeAccessorType, true > | FunctionShapeIteratorType |
Public Member Functions | |
| StaticSingleSiteFunction () | |
| StaticSingleSiteFunction (const StaticSingleSiteFunction &other) | |
| StaticSingleSiteFunction & | operator= (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 |
Public Member Functions inherited from opengm::FunctionBase< StaticSingleSiteFunction< T, SIZE, STORAGE >, T, size_t, size_t > | |
| 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< T > | 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 StaticSingleSiteFunction< T, SIZE, STORAGE > &) const |
| FunctionShapeIteratorType | functionShapeBegin () const |
| FunctionShapeIteratorType | functionShapeEnd () const |
| size_t | numberOfParameters () const |
| size_t | parameterIndex (const size_t paramNumber) const |
Single site function whose size is fixed at compile time.
Definition at line 82 of file singlesitefunction.hxx.
| typedef T opengm::StaticSingleSiteFunction< T, SIZE, STORAGE >::value_type |
Definition at line 88 of file singlesitefunction.hxx.
| typedef T opengm::StaticSingleSiteFunction< T, SIZE, STORAGE >::ValueType |
Definition at line 87 of file singlesitefunction.hxx.
|
inline |
Definition at line 90 of file singlesitefunction.hxx.
|
inline |
Definition at line 91 of file singlesitefunction.hxx.
|
inline |
Definition at line 124 of file singlesitefunction.hxx.
|
inline |
Definition at line 109 of file singlesitefunction.hxx.
|
inline |
Definition at line 115 of file singlesitefunction.hxx.
|
inline |
Definition at line 99 of file singlesitefunction.hxx.
|
inline |
Definition at line 127 of file singlesitefunction.hxx.
|
inline |
Definition at line 121 of file singlesitefunction.hxx.
1.8.9.1