|
OpenGM
2.3.x
Discrete Graphical Model Library
|
Fallback implementation of member functions of OpenGM functions. More...
#include <function_properties_base.hxx>
Inheritance diagram for opengm::FunctionBase< FUNCTION, VALUE, INDEX, LABEL >:
Collaboration diagram for opengm::FunctionBase< FUNCTION, VALUE, INDEX, LABEL >:Public Types | |
| typedef AccessorIterator< FunctionShapeAccessorType, true > | FunctionShapeIteratorType |
Public Member Functions | |
| 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< VALUE > | 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 |
| template<class ACC > | |
| ReturnType | accumulate () const |
| accumulate all values of the function More... | |
| template<class FUNCTOR > | |
| void | forAllValuesInOrder (FUNCTOR &functor) const |
| call a functor for each value of the function (in lexicographical order of the variable indices) More... | |
| template<class FUNCTOR > | |
| void | forAllValuesInSwitchedOrder (FUNCTOR &functor) const |
| template<class FUNCTOR > | |
| void | forAllValuesInAnyOrder (FUNCTOR &functor) const |
| call a functor for each value of the function (in un-specified order) More... | |
| template<class FUNCTOR > | |
| void | forAtLeastAllUniqueValues (FUNCTOR &functor) const |
| call a functor for at least all unique values of the function More... | |
| template<class COORDINATE_FUNCTOR > | |
| void | forAllValuesInOrderWithCoordinate (COORDINATE_FUNCTOR &functor) const |
| template<class COORDINATE_FUNCTOR > | |
| void | forAllValuesInAnyOrderWithCoordinate (COORDINATE_FUNCTOR &functor) const |
| template<class COORDINATE_FUNCTOR > | |
| void | forAtLeastAllUniqueValuesWithCoordinate (COORDINATE_FUNCTOR &functor) const |
| bool | operator== (const FUNCTION &) const |
| FunctionShapeIteratorType | functionShapeBegin () const |
| FunctionShapeIteratorType | functionShapeEnd () const |
| size_t | numberOfWeights () const |
| INDEX | weightIndex (const size_t weightNumber) const |
| void | setWeights (const opengm::learning::Weights< VALUE > &) const |
| template<class ITERATOR > | |
| VALUE | weightGradient (size_t, ITERATOR) const |
Fallback implementation of member functions of OpenGM functions.
Definition at line 44 of file function_properties_base.hxx.
| typedef AccessorIterator<FunctionShapeAccessorType, true> opengm::FunctionBase< FUNCTION, VALUE, INDEX, LABEL >::FunctionShapeIteratorType |
Definition at line 126 of file function_properties_base.hxx.
|
inline |
accumulate all values of the function
Definition at line 578 of file function_properties_base.hxx.
|
inline |
call a functor for each value of the function (in un-specified order)
Definition at line 243 of file function_properties_base.hxx.
Here is the caller graph for this function:
|
inline |
Definition at line 194 of file function_properties_base.hxx.
Here is the caller graph for this function:
|
inline |
call a functor for each value of the function (in lexicographical order of the variable indices)
Example:
Definition at line 215 of file function_properties_base.hxx.
Here is the caller graph for this function:
|
inline |
Definition at line 180 of file function_properties_base.hxx.
Here is the caller graph for this function:
|
inline |
Definition at line 229 of file function_properties_base.hxx.
Here is the caller graph for this function:
|
inline |
call a functor for at least all unique values of the function
Definition at line 253 of file function_properties_base.hxx.
Here is the caller graph for this function:
|
inline |
Definition at line 204 of file function_properties_base.hxx.
Here is the caller graph for this function:
|
inline |
Definition at line 261 of file function_properties_base.hxx.
Here is the caller graph for this function:
|
inline |
Definition at line 268 of file function_properties_base.hxx.
|
inline |
Definition at line 325 of file function_properties_base.hxx.
|
inline |
Definition at line 398 of file function_properties_base.hxx.
|
inline |
Definition at line 523 of file function_properties_base.hxx.
|
inline |
Definition at line 373 of file function_properties_base.hxx.
|
inline |
Definition at line 275 of file function_properties_base.hxx.
|
inline |
Definition at line 505 of file function_properties_base.hxx.
|
inline |
Definition at line 346 of file function_properties_base.hxx.
|
inline |
Definition at line 297 of file function_properties_base.hxx.
|
inline |
Definition at line 551 of file function_properties_base.hxx.
Here is the caller graph for this function:
|
inline |
Definition at line 541 of file function_properties_base.hxx.
Here is the caller graph for this function:
|
inline |
find minimum and maximum of the function in a single sweep
Definition at line 530 of file function_properties_base.hxx.
Here is the caller graph for this function:
|
inline |
Definition at line 131 of file function_properties_base.hxx.
|
inline |
Definition at line 149 of file function_properties_base.hxx.
|
inline |
Definition at line 569 of file function_properties_base.hxx.
Here is the caller graph for this function:
|
inline |
Definition at line 137 of file function_properties_base.hxx.
|
inline |
Definition at line 561 of file function_properties_base.hxx.
Here is the caller graph for this function:
|
inline |
Definition at line 139 of file function_properties_base.hxx.
|
inline |
Definition at line 134 of file function_properties_base.hxx.
1.8.12