Alpha-Beta-Swap Algorithm. More...
#include <alphabetaswap.hxx>
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 GraphicalModelType & | graphicalModel () 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 |
Alpha-Beta-Swap Algorithm.
Definition at line 15 of file alphabetaswap.hxx.
typedef INF::AccumulationType opengm::AlphaBetaSwap< GM, INF >::AccumulationType |
Reimplemented from opengm::Inference< GM, INF::AccumulationType >.
Definition at line 19 of file alphabetaswap.hxx.
typedef EmptyVisitor<AlphaBetaSwap<GM,INF> > opengm::AlphaBetaSwap< GM, INF >::EmptyVisitorType |
Definition at line 23 of file alphabetaswap.hxx.
typedef GM opengm::AlphaBetaSwap< GM, INF >::GraphicalModelType |
Reimplemented from opengm::Inference< GM, INF::AccumulationType >.
Definition at line 17 of file alphabetaswap.hxx.
typedef INF opengm::AlphaBetaSwap< GM, INF >::InferenceType |
Definition at line 18 of file alphabetaswap.hxx.
typedef TimingVisitor<AlphaBetaSwap<GM,INF> > opengm::AlphaBetaSwap< GM, INF >::TimingVisitorType |
Definition at line 22 of file alphabetaswap.hxx.
typedef VerboseVisitor<AlphaBetaSwap<GM,INF> > opengm::AlphaBetaSwap< GM, INF >::VerboseVisitorType |
Definition at line 21 of file alphabetaswap.hxx.
opengm::AlphaBetaSwap< GM, INF >::AlphaBetaSwap | ( | const GraphicalModelType & | gm, | |
Parameter | para = Parameter() | |||
) | [inline] |
Definition at line 93 of file alphabetaswap.hxx.
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.
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.
InferenceTermination opengm::AlphaBetaSwap< GM, INF >::infer | ( | VISITOR & | visitor | ) | [inline] |
Definition at line 180 of file alphabetaswap.hxx.
InferenceTermination opengm::AlphaBetaSwap< GM, INF >::infer | ( | ) | [inline, virtual] |
Implements opengm::Inference< GM, INF::AccumulationType >.
Definition at line 171 of file alphabetaswap.hxx.
std::string opengm::AlphaBetaSwap< GM, INF >::name | ( | ) | const [inline, virtual] |
Implements opengm::Inference< GM, INF::AccumulationType >.
Definition at line 81 of file alphabetaswap.hxx.
void opengm::AlphaBetaSwap< GM, INF >::reset | ( | ) | [inline] |
Definition at line 59 of file alphabetaswap.hxx.
void opengm::AlphaBetaSwap< GM, INF >::setStartingPoint | ( | typename std::vector< LabelType >::const_iterator | ) | [virtual] |
Reimplemented from opengm::Inference< GM, INF::AccumulationType >.
opengm::AlphaBetaSwap< GM, INF >::OPENGM_GM_TYPE_TYPEDEFS |
Definition at line 20 of file alphabetaswap.hxx.