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

#include <multi_label_proposals.hxx>

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

Public Types

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

Public Member Functions

 LabelHistory (const GM &gm, size_t size)
 
LabelVectopArg ()
 
LabelVectopValue ()
 
void setTopValue (const ValueType &value)
 
LabelVectopArg (int histIndex)
 
LabelVectopArg (int histIndex)
 
void nextTop ()
 
size_t histSize () const
 

Public Attributes

 OPENGM_GM_TYPE_TYPEDEFS
 
const GM & gm_
 
LabelVecVec labels_
 
ValueVec valueVec_
 
int topIndex_
 
int entries_
 

Detailed Description

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

Definition at line 11 of file multi_label_proposals.hxx.

Member Typedef Documentation

§ AccumulationType

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

Definition at line 13 of file multi_label_proposals.hxx.

§ GraphicalModelType

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

Definition at line 14 of file multi_label_proposals.hxx.

§ LabelVec

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

Definition at line 16 of file multi_label_proposals.hxx.

§ LabelVecVec

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

Definition at line 18 of file multi_label_proposals.hxx.

§ ValueVec

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

Definition at line 17 of file multi_label_proposals.hxx.

Constructor & Destructor Documentation

§ LabelHistory()

template<class GM , class ACC >
opengm::proposals::LabelHistory< GM, ACC >::LabelHistory ( const GM &  gm,
size_t  size 
)
inline

Definition at line 20 of file multi_label_proposals.hxx.

Member Function Documentation

§ histSize()

template<class GM , class ACC >
size_t opengm::proposals::LabelHistory< GM, ACC >::histSize ( ) const
inline

Definition at line 57 of file multi_label_proposals.hxx.

§ nextTop()

template<class GM , class ACC >
void opengm::proposals::LabelHistory< GM, ACC >::nextTop ( )
inline

Definition at line 52 of file multi_label_proposals.hxx.

§ setTopValue()

template<class GM , class ACC >
void opengm::proposals::LabelHistory< GM, ACC >::setTopValue ( const ValueType &  value)
inline

Definition at line 36 of file multi_label_proposals.hxx.

§ topArg() [1/3]

template<class GM , class ACC >
LabelVec& opengm::proposals::LabelHistory< GM, ACC >::topArg ( )
inline

Definition at line 28 of file multi_label_proposals.hxx.

§ topArg() [2/3]

template<class GM , class ACC >
LabelVec& opengm::proposals::LabelHistory< GM, ACC >::topArg ( int  histIndex)
inline

Definition at line 40 of file multi_label_proposals.hxx.

§ topArg() [3/3]

template<class GM , class ACC >
LabelVec& opengm::proposals::LabelHistory< GM, ACC >::topArg ( int  histIndex)
inline

Definition at line 48 of file multi_label_proposals.hxx.

§ topValue()

template<class GM , class ACC >
LabelVec& opengm::proposals::LabelHistory< GM, ACC >::topValue ( )
inline

Definition at line 32 of file multi_label_proposals.hxx.

Member Data Documentation

§ entries_

template<class GM , class ACC >
int opengm::proposals::LabelHistory< GM, ACC >::entries_

Definition at line 65 of file multi_label_proposals.hxx.

§ gm_

template<class GM , class ACC >
const GM& opengm::proposals::LabelHistory< GM, ACC >::gm_

Definition at line 61 of file multi_label_proposals.hxx.

§ labels_

template<class GM , class ACC >
LabelVecVec opengm::proposals::LabelHistory< GM, ACC >::labels_

Definition at line 62 of file multi_label_proposals.hxx.

§ OPENGM_GM_TYPE_TYPEDEFS

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

Definition at line 15 of file multi_label_proposals.hxx.

§ topIndex_

template<class GM , class ACC >
int opengm::proposals::LabelHistory< GM, ACC >::topIndex_

Definition at line 64 of file multi_label_proposals.hxx.

§ valueVec_

template<class GM , class ACC >
ValueVec opengm::proposals::LabelHistory< GM, ACC >::valueVec_

Definition at line 63 of file multi_label_proposals.hxx.