opengm::ConvertToExplicit< GM > Class Template Reference

Convert any graphical model into an explicit graphical model. More...

#include <graphicalmodel_explicit_storage.hxx>

List of all members.

Public Types

typedef GraphicalModel
< GmValueType, GmOperatorTye,
ExplicitFunction< GmValueType >
, DiscreteSpace< >,false > 
ExplicitGraphicalModelType

Static Public Member Functions

static void convert (const GM &gm, ExplicitGraphicalModelType &explicitGm)

Detailed Description

template<class GM>
class opengm::ConvertToExplicit< GM >

Convert any graphical model into an explicit graphical model.

An explicit graphical model (gm) is a gm using only the explicit function for storage.

Usage:

 typedef opengm::ConvertToExplicit<MaybeNonExplicitGmType>::ExplicitGraphicalModelType GmTypeExplicit;
 GmTypeExplicit explicitGm;
 opengm::ConvertToExplicit<MaybeNonExplicitGmType>::convert(maybeNonExplicit,explicitGm);

Definition at line 153 of file graphicalmodel_explicit_storage.hxx.


Member Typedef Documentation

template<class GM >
typedef GraphicalModel<GmValueType,GmOperatorTye,ExplicitFunction<GmValueType>,DiscreteSpace< > ,false> opengm::ConvertToExplicit< GM >::ExplicitGraphicalModelType

Definition at line 159 of file graphicalmodel_explicit_storage.hxx.


Member Function Documentation

template<class GM >
static void opengm::ConvertToExplicit< GM >::convert ( const GM &  gm,
ExplicitGraphicalModelType explicitGm 
) [inline, static]

Definition at line 163 of file graphicalmodel_explicit_storage.hxx.

Here is the call graph for this function:

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Generated on Mon Jun 17 16:31:11 2013 for OpenGM by  doxygen 1.6.3