OpenGM  2.3.x
Discrete Graphical Model Library
Public Types | Public Member Functions | List of all members
opengm::CanonicalView< GM, CLONE > Class Template Reference

Canonical view of an arbitrary GraphicalModel. More...

#include <canonical_view.hxx>

+ Inheritance diagram for opengm::CanonicalView< GM, CLONE >:
+ Collaboration diagram for opengm::CanonicalView< GM, CLONE >:

Public Types

typedef canonical_view_internal::Generator< GM >::type Parent
 
typedef CanonicalView< GM, CLONE > MyType
 
typedef Parent::IndexType IndexType
 
typedef Parent::LabelType LabelType
 
typedef Parent::ValueType ValueType
 
typedef Parent::FunctionIdentifier FunctionIdentifier
 
typedef ExplicitFunction< ValueType, IndexType, LabelTypeExplFuncType
 
typedef ConstantFunction< ValueType, IndexType, LabelTypeConstFuncType
 
typedef AccumulatedViewFunction< GM > ViewFuncType
 
typedef canonical_view_internal::FunctionInjector< MyType, GM, CLONE > FunctionInjectorType
 
typedef canonical_view_internal::CloneHelper< MyType, CLONE > CloneHelperType
 

Public Member Functions

 CanonicalView (const GM &gm)
 

Detailed Description

template<class GM, canonical_view::CloneOption CLONE = canonical_view::CloneNever>
class opengm::CanonicalView< GM, CLONE >

Canonical view of an arbitrary GraphicalModel.

This class wraps an arbitrary GraphicalModel and acts as a view on the model. The original model is changed with respect to the following aspects:

Definition at line 227 of file canonical_view.hxx.

Member Typedef Documentation

template<class GM , canonical_view::CloneOption CLONE = canonical_view::CloneNever>
typedef canonical_view_internal::CloneHelper<MyType, CLONE> opengm::CanonicalView< GM, CLONE >::CloneHelperType

Definition at line 242 of file canonical_view.hxx.

template<class GM , canonical_view::CloneOption CLONE = canonical_view::CloneNever>
typedef ConstantFunction<ValueType, IndexType, LabelType> opengm::CanonicalView< GM, CLONE >::ConstFuncType

Definition at line 238 of file canonical_view.hxx.

template<class GM , canonical_view::CloneOption CLONE = canonical_view::CloneNever>
typedef ExplicitFunction<ValueType, IndexType, LabelType> opengm::CanonicalView< GM, CLONE >::ExplFuncType

Definition at line 237 of file canonical_view.hxx.

template<class GM , canonical_view::CloneOption CLONE = canonical_view::CloneNever>
typedef Parent::FunctionIdentifier opengm::CanonicalView< GM, CLONE >::FunctionIdentifier

Definition at line 235 of file canonical_view.hxx.

template<class GM , canonical_view::CloneOption CLONE = canonical_view::CloneNever>
typedef canonical_view_internal::FunctionInjector<MyType, GM, CLONE> opengm::CanonicalView< GM, CLONE >::FunctionInjectorType

Definition at line 241 of file canonical_view.hxx.

template<class GM , canonical_view::CloneOption CLONE = canonical_view::CloneNever>
typedef Parent::IndexType opengm::CanonicalView< GM, CLONE >::IndexType

Definition at line 232 of file canonical_view.hxx.

template<class GM , canonical_view::CloneOption CLONE = canonical_view::CloneNever>
typedef Parent::LabelType opengm::CanonicalView< GM, CLONE >::LabelType

Definition at line 233 of file canonical_view.hxx.

template<class GM , canonical_view::CloneOption CLONE = canonical_view::CloneNever>
typedef CanonicalView<GM, CLONE> opengm::CanonicalView< GM, CLONE >::MyType

Definition at line 230 of file canonical_view.hxx.

template<class GM , canonical_view::CloneOption CLONE = canonical_view::CloneNever>
typedef canonical_view_internal::Generator<GM>::type opengm::CanonicalView< GM, CLONE >::Parent

Definition at line 229 of file canonical_view.hxx.

template<class GM , canonical_view::CloneOption CLONE = canonical_view::CloneNever>
typedef Parent::ValueType opengm::CanonicalView< GM, CLONE >::ValueType

Definition at line 234 of file canonical_view.hxx.

template<class GM , canonical_view::CloneOption CLONE = canonical_view::CloneNever>
typedef AccumulatedViewFunction<GM> opengm::CanonicalView< GM, CLONE >::ViewFuncType

Definition at line 239 of file canonical_view.hxx.

Constructor & Destructor Documentation

template<class GM , canonical_view::CloneOption CLONE = canonical_view::CloneNever>
opengm::CanonicalView< GM, CLONE >::CanonicalView ( const GM &  gm)
inline

Definition at line 244 of file canonical_view.hxx.