OpenGM  2.3.x
Discrete Graphical Model Library
Public Types | Public Member Functions | Public Attributes | List of all members
opengm::combilp_base::CombiLP_base< GM, ACC, LPREPARAMETRIZER > Class Template Reference

#include <combilp.hxx>

+ Inheritance diagram for opengm::combilp_base::CombiLP_base< GM, ACC, LPREPARAMETRIZER >:
+ Collaboration diagram for opengm::combilp_base::CombiLP_base< GM, ACC, LPREPARAMETRIZER >:

Public Types

typedef ACC AccumulationType
 
typedef GM GraphicalModelType
 
typedef CombiLP_base_Parameter Parameter
 
typedef LPREPARAMETRIZER ReparametrizerType
 
typedef ReparametrizerType::MaskType MaskType
 
typedef opengm::GraphicalModelManipulator< typename ReparametrizerType::ReparametrizedGMType > GMManipulatorType
 
typedef LPCplex< typename GMManipulatorType::MGM, MinimizerLPCPLEX
 

Public Member Functions

 CombiLP_base (LPREPARAMETRIZER &reparametrizer, const Parameter &param)
 
virtual ~CombiLP_base ()
 
const GraphicalModelTypegraphicalModel () const
 
template<class VISITORWRAPPER >
InferenceTermination infer (MaskType &mask, const std::vector< LabelType > &lp_labeling, VISITORWRAPPER &vis)
 
InferenceTermination arg (std::vector< LabelType > &out, const size_t=1) const
 
ValueType value () const
 
ValueType bound () const
 
void ReparametrizeAndSave ()
 

Public Attributes

 OPENGM_GM_TYPE_TYPEDEFS
 

Detailed Description

template<class GM, class ACC, class LPREPARAMETRIZER>
class opengm::combilp_base::CombiLP_base< GM, ACC, LPREPARAMETRIZER >

Definition at line 136 of file combilp.hxx.

Member Typedef Documentation

template<class GM, class ACC, class LPREPARAMETRIZER>
typedef ACC opengm::combilp_base::CombiLP_base< GM, ACC, LPREPARAMETRIZER >::AccumulationType

Definition at line 139 of file combilp.hxx.

template<class GM, class ACC, class LPREPARAMETRIZER>
typedef opengm::GraphicalModelManipulator<typename ReparametrizerType::ReparametrizedGMType> opengm::combilp_base::CombiLP_base< GM, ACC, LPREPARAMETRIZER >::GMManipulatorType

Definition at line 148 of file combilp.hxx.

template<class GM, class ACC, class LPREPARAMETRIZER>
typedef GM opengm::combilp_base::CombiLP_base< GM, ACC, LPREPARAMETRIZER >::GraphicalModelType

Definition at line 140 of file combilp.hxx.

template<class GM, class ACC, class LPREPARAMETRIZER>
typedef LPCplex<typename GMManipulatorType::MGM, Minimizer> opengm::combilp_base::CombiLP_base< GM, ACC, LPREPARAMETRIZER >::LPCPLEX

Definition at line 150 of file combilp.hxx.

template<class GM, class ACC, class LPREPARAMETRIZER>
typedef ReparametrizerType::MaskType opengm::combilp_base::CombiLP_base< GM, ACC, LPREPARAMETRIZER >::MaskType

Definition at line 146 of file combilp.hxx.

template<class GM, class ACC, class LPREPARAMETRIZER>
typedef CombiLP_base_Parameter opengm::combilp_base::CombiLP_base< GM, ACC, LPREPARAMETRIZER >::Parameter

Definition at line 144 of file combilp.hxx.

template<class GM, class ACC, class LPREPARAMETRIZER>
typedef LPREPARAMETRIZER opengm::combilp_base::CombiLP_base< GM, ACC, LPREPARAMETRIZER >::ReparametrizerType

Definition at line 145 of file combilp.hxx.

Constructor & Destructor Documentation

template<class GM , class ACC , class LPREPARAMETRIZER>
opengm::combilp_base::CombiLP_base< GM, ACC, LPREPARAMETRIZER >::CombiLP_base ( LPREPARAMETRIZER &  reparametrizer,
const Parameter param 
)

Definition at line 187 of file combilp.hxx.

template<class GM, class ACC, class LPREPARAMETRIZER>
virtual opengm::combilp_base::CombiLP_base< GM, ACC, LPREPARAMETRIZER >::~CombiLP_base ( )
inlinevirtual

Definition at line 157 of file combilp.hxx.

Member Function Documentation

template<class GM, class ACC, class LPREPARAMETRIZER>
InferenceTermination opengm::combilp_base::CombiLP_base< GM, ACC, LPREPARAMETRIZER >::arg ( std::vector< LabelType > &  out,
const size_t  = 1 
) const
inline

Definition at line 163 of file combilp.hxx.

template<class GM, class ACC, class LPREPARAMETRIZER>
ValueType opengm::combilp_base::CombiLP_base< GM, ACC, LPREPARAMETRIZER >::bound ( ) const
inline

Definition at line 170 of file combilp.hxx.

template<class GM, class ACC, class LPREPARAMETRIZER>
const GraphicalModelType& opengm::combilp_base::CombiLP_base< GM, ACC, LPREPARAMETRIZER >::graphicalModel ( ) const
inline

Definition at line 159 of file combilp.hxx.

template<class GM , class ACC , class LPREPARAMETRIZER >
template<class VISITORWRAPPER >
InferenceTermination opengm::combilp_base::CombiLP_base< GM, ACC, LPREPARAMETRIZER >::infer ( MaskType mask,
const std::vector< LabelType > &  lp_labeling,
VISITORWRAPPER &  vis 
)

Definition at line 237 of file combilp.hxx.

+ Here is the call graph for this function:

template<class GM , class ACC , class LPREPARAMETRIZER >
void opengm::combilp_base::CombiLP_base< GM, ACC, LPREPARAMETRIZER >::ReparametrizeAndSave ( )

Definition at line 355 of file combilp.hxx.

template<class GM, class ACC, class LPREPARAMETRIZER>
ValueType opengm::combilp_base::CombiLP_base< GM, ACC, LPREPARAMETRIZER >::value ( ) const
inline

Definition at line 169 of file combilp.hxx.

Member Data Documentation

template<class GM, class ACC, class LPREPARAMETRIZER>
opengm::combilp_base::CombiLP_base< GM, ACC, LPREPARAMETRIZER >::OPENGM_GM_TYPE_TYPEDEFS

Definition at line 142 of file combilp.hxx.