opengm::AlphaBetaSwap< GM, INF > Class Template Reference
[Inference Algorithms]

Alpha-Beta-Swap Algorithm. More...

#include <alphabetaswap.hxx>

Inheritance diagram for opengm::AlphaBetaSwap< GM, INF >:
Inheritance graph
[legend]
Collaboration diagram for opengm::AlphaBetaSwap< GM, INF >:
Collaboration graph
[legend]

List of all members.

Classes

struct  Parameter

Public Types

typedef GM GraphicalModelType
typedef INF InferenceType
typedef INF::AccumulationType AccumulationType
typedef VerboseVisitor
< AlphaBetaSwap< GM, INF > > 
VerboseVisitorType
typedef TimingVisitor
< AlphaBetaSwap< GM, INF > > 
TimingVisitorType
typedef EmptyVisitor
< AlphaBetaSwap< GM, INF > > 
EmptyVisitorType

Public Member Functions

 AlphaBetaSwap (const GraphicalModelType &, Parameter=Parameter())
std::string name () const
const GraphicalModelTypegraphicalModel () const
InferenceTermination infer ()
template<class VISITOR >
InferenceTermination infer (VISITOR &)
void reset ()
void setStartingPoint (typename std::vector< LabelType >::const_iterator)
InferenceTermination arg (std::vector< LabelType > &, const size_t=1) const

Public Attributes

 OPENGM_GM_TYPE_TYPEDEFS

Detailed Description

template<class GM, class INF>
class opengm::AlphaBetaSwap< GM, INF >

Alpha-Beta-Swap Algorithm.

Definition at line 15 of file alphabetaswap.hxx.


Member Typedef Documentation

template<class GM, class INF>
typedef INF::AccumulationType opengm::AlphaBetaSwap< GM, INF >::AccumulationType

Reimplemented from opengm::Inference< GM, INF::AccumulationType >.

Definition at line 19 of file alphabetaswap.hxx.

template<class GM, class INF>
typedef EmptyVisitor<AlphaBetaSwap<GM,INF> > opengm::AlphaBetaSwap< GM, INF >::EmptyVisitorType

Definition at line 23 of file alphabetaswap.hxx.

template<class GM, class INF>
typedef GM opengm::AlphaBetaSwap< GM, INF >::GraphicalModelType

Reimplemented from opengm::Inference< GM, INF::AccumulationType >.

Definition at line 17 of file alphabetaswap.hxx.

template<class GM, class INF>
typedef INF opengm::AlphaBetaSwap< GM, INF >::InferenceType

Definition at line 18 of file alphabetaswap.hxx.

template<class GM, class INF>
typedef TimingVisitor<AlphaBetaSwap<GM,INF> > opengm::AlphaBetaSwap< GM, INF >::TimingVisitorType

Definition at line 22 of file alphabetaswap.hxx.

template<class GM, class INF>
typedef VerboseVisitor<AlphaBetaSwap<GM,INF> > opengm::AlphaBetaSwap< GM, INF >::VerboseVisitorType

Definition at line 21 of file alphabetaswap.hxx.


Constructor & Destructor Documentation

template<class GM , class INF >
opengm::AlphaBetaSwap< GM, INF >::AlphaBetaSwap ( const GraphicalModelType gm,
Parameter  para = Parameter() 
) [inline]

Definition at line 93 of file alphabetaswap.hxx.


Member Function Documentation

template<class GM , class INF >
InferenceTermination opengm::AlphaBetaSwap< GM, INF >::arg ( std::vector< LabelType > &  arg,
const size_t  n = 1 
) const [inline, virtual]

Reimplemented from opengm::Inference< GM, INF::AccumulationType >.

Definition at line 288 of file alphabetaswap.hxx.

template<class GM , class INF >
const AlphaBetaSwap< GM, INF >::GraphicalModelType & opengm::AlphaBetaSwap< GM, INF >::graphicalModel (  )  const [inline, virtual]

Implements opengm::Inference< GM, INF::AccumulationType >.

Definition at line 87 of file alphabetaswap.hxx.

template<class GM , class INF >
template<class VISITOR >
InferenceTermination opengm::AlphaBetaSwap< GM, INF >::infer ( VISITOR &  visitor  )  [inline]

Definition at line 180 of file alphabetaswap.hxx.

template<class GM , class INF >
InferenceTermination opengm::AlphaBetaSwap< GM, INF >::infer (  )  [inline, virtual]

Implements opengm::Inference< GM, INF::AccumulationType >.

Definition at line 171 of file alphabetaswap.hxx.

template<class GM , class INF >
std::string opengm::AlphaBetaSwap< GM, INF >::name (  )  const [inline, virtual]

Implements opengm::Inference< GM, INF::AccumulationType >.

Definition at line 81 of file alphabetaswap.hxx.

template<class GM , class INF >
void opengm::AlphaBetaSwap< GM, INF >::reset (  )  [inline]

Definition at line 59 of file alphabetaswap.hxx.

template<class GM, class INF>
void opengm::AlphaBetaSwap< GM, INF >::setStartingPoint ( typename std::vector< LabelType >::const_iterator   )  [virtual]

Member Data Documentation

template<class GM, class INF>
opengm::AlphaBetaSwap< GM, INF >::OPENGM_GM_TYPE_TYPEDEFS

Definition at line 20 of file alphabetaswap.hxx.

 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