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

#include <multi_label_proposals.hxx>

+ Collaboration diagram for opengm::proposals::AlphaExpansion< GM, ACC >:

Classes

class  Parameter
 

Public Types

typedef ACC AccumulationType
 
typedef GM GraphicalModelType
 
typedef LabelHistory< GM, ACC > History
 
typedef std::vector< LabelTypeLabelVec
 
typedef std::vector< ValueType > ValueVec
 
typedef std::vector< LabelVecLabelVecVec
 

Public Member Functions

 AlphaExpansion (const GM &gm, Parameter &param &Parameter())
 
size_t numProposals ()
 
Int64Type iterPerRound () const
 
size_t requiredHistorySize () const
 
void reset ()
 
void getProposals (const LabelVec &current, const History &bestHistory, const bool improvementViaLastProposal, LabelVecVec &proposals)
 

Public Attributes

 OPENGM_GM_TYPE_TYPEDEFS
 

Detailed Description

template<class GM, class ACC>
class opengm::proposals::AlphaExpansion< GM, ACC >

Definition at line 70 of file multi_label_proposals.hxx.

Member Typedef Documentation

template<class GM , class ACC >
typedef ACC opengm::proposals::AlphaExpansion< GM, ACC >::AccumulationType

Definition at line 74 of file multi_label_proposals.hxx.

template<class GM , class ACC >
typedef GM opengm::proposals::AlphaExpansion< GM, ACC >::GraphicalModelType

Definition at line 75 of file multi_label_proposals.hxx.

template<class GM , class ACC >
typedef LabelHistory<GM, ACC> opengm::proposals::AlphaExpansion< GM, ACC >::History

Definition at line 78 of file multi_label_proposals.hxx.

template<class GM , class ACC >
typedef std::vector<LabelType > opengm::proposals::AlphaExpansion< GM, ACC >::LabelVec

Definition at line 79 of file multi_label_proposals.hxx.

template<class GM , class ACC >
typedef std::vector< LabelVec > opengm::proposals::AlphaExpansion< GM, ACC >::LabelVecVec

Definition at line 81 of file multi_label_proposals.hxx.

template<class GM , class ACC >
typedef std::vector<ValueType > opengm::proposals::AlphaExpansion< GM, ACC >::ValueVec

Definition at line 80 of file multi_label_proposals.hxx.

Constructor & Destructor Documentation

template<class GM , class ACC >
opengm::proposals::AlphaExpansion< GM, ACC >::AlphaExpansion ( const GM &  gm,
Parameter &param &  Parameter() 
)
inline

Definition at line 107 of file multi_label_proposals.hxx.

Member Function Documentation

template<class GM , class ACC >
void opengm::proposals::AlphaExpansion< GM, ACC >::getProposals ( const LabelVec current,
const History bestHistory,
const bool  improvementViaLastProposal,
LabelVecVec proposals 
)
inline

Definition at line 143 of file multi_label_proposals.hxx.

template<class GM , class ACC >
Int64Type opengm::proposals::AlphaExpansion< GM, ACC >::iterPerRound ( ) const
inline

Definition at line 131 of file multi_label_proposals.hxx.

template<class GM , class ACC >
size_t opengm::proposals::AlphaExpansion< GM, ACC >::numProposals ( )
inline

Definition at line 127 of file multi_label_proposals.hxx.

template<class GM , class ACC >
size_t opengm::proposals::AlphaExpansion< GM, ACC >::requiredHistorySize ( ) const
inline

Definition at line 135 of file multi_label_proposals.hxx.

template<class GM , class ACC >
void opengm::proposals::AlphaExpansion< GM, ACC >::reset ( )
inline

Definition at line 139 of file multi_label_proposals.hxx.

Member Data Documentation

template<class GM , class ACC >
opengm::proposals::AlphaExpansion< GM, ACC >::OPENGM_GM_TYPE_TYPEDEFS

Definition at line 76 of file multi_label_proposals.hxx.