Alpha-Expansion Algorithm. More...
#include <alphaexpansion.hxx>
Classes | |
struct | Parameter |
Public Types | |
typedef GM | GraphicalModelType |
typedef INF | InferenceType |
typedef INF::AccumulationType | AccumulationType |
typedef VerboseVisitor < AlphaExpansion< GM, INF > > | VerboseVisitorType |
typedef TimingVisitor < AlphaExpansion< GM, INF > > | TimingVisitorType |
typedef EmptyVisitor < AlphaExpansion< GM, INF > > | EmptyVisitorType |
Public Member Functions | |
AlphaExpansion (const GraphicalModelType &, Parameter para=Parameter()) | |
std::string | name () const |
const GraphicalModelType & | graphicalModel () const |
template<class StateIterator > | |
void | setState (StateIterator, StateIterator) |
InferenceTermination | infer () |
void | reset () |
template<class Visitor > | |
InferenceTermination | infer (Visitor &visitor) |
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-Expansion Algorithm.
Definition at line 13 of file alphaexpansion.hxx.
typedef INF::AccumulationType opengm::AlphaExpansion< GM, INF >::AccumulationType |
Reimplemented from opengm::Inference< GM, INF::AccumulationType >.
Definition at line 19 of file alphaexpansion.hxx.
typedef EmptyVisitor<AlphaExpansion<GM,INF> > opengm::AlphaExpansion< GM, INF >::EmptyVisitorType |
Definition at line 23 of file alphaexpansion.hxx.
typedef GM opengm::AlphaExpansion< GM, INF >::GraphicalModelType |
Reimplemented from opengm::Inference< GM, INF::AccumulationType >.
Definition at line 17 of file alphaexpansion.hxx.
typedef INF opengm::AlphaExpansion< GM, INF >::InferenceType |
Definition at line 18 of file alphaexpansion.hxx.
typedef TimingVisitor<AlphaExpansion<GM,INF> > opengm::AlphaExpansion< GM, INF >::TimingVisitorType |
Definition at line 22 of file alphaexpansion.hxx.
typedef VerboseVisitor<AlphaExpansion<GM,INF> > opengm::AlphaExpansion< GM, INF >::VerboseVisitorType |
Definition at line 21 of file alphaexpansion.hxx.
opengm::AlphaExpansion< GM, INF >::AlphaExpansion | ( | const GraphicalModelType & | gm, | |
Parameter | para = Parameter() | |||
) | [inline] |
Definition at line 129 of file alphaexpansion.hxx.
InferenceTermination opengm::AlphaExpansion< 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 373 of file alphaexpansion.hxx.
const AlphaExpansion< GM, INF >::GraphicalModelType & opengm::AlphaExpansion< GM, INF >::graphicalModel | ( | ) | const [inline, virtual] |
Implements opengm::Inference< GM, INF::AccumulationType >.
Definition at line 95 of file alphaexpansion.hxx.
InferenceTermination opengm::AlphaExpansion< GM, INF >::infer | ( | Visitor & | visitor | ) | [inline] |
Definition at line 263 of file alphaexpansion.hxx.
InferenceTermination opengm::AlphaExpansion< GM, INF >::infer | ( | ) | [inline, virtual] |
Implements opengm::Inference< GM, INF::AccumulationType >.
Definition at line 253 of file alphaexpansion.hxx.
std::string opengm::AlphaExpansion< GM, INF >::name | ( | ) | const [inline, virtual] |
Implements opengm::Inference< GM, INF::AccumulationType >.
Definition at line 88 of file alphaexpansion.hxx.
void opengm::AlphaExpansion< GM, INF >::reset | ( | ) | [inline] |
Definition at line 183 of file alphaexpansion.hxx.
void opengm::AlphaExpansion< GM, INF >::setStartingPoint | ( | typename std::vector< LabelType >::const_iterator | ) | [virtual] |
Reimplemented from opengm::Inference< GM, INF::AccumulationType >.
void opengm::AlphaExpansion< GM, INF >::setState | ( | StateIterator | begin, | |
StateIterator | end | |||
) | [inline] |
Definition at line 104 of file alphaexpansion.hxx.
opengm::AlphaExpansion< GM, INF >::OPENGM_GM_TYPE_TYPEDEFS |
Definition at line 20 of file alphaexpansion.hxx.