|
OpenGM
2.3.x
Discrete Graphical Model Library
|
MPLP MPLP inference algorithm class. More...
#include <mplp.hxx>
Inheritance diagram for opengm::external::MPLP< GM >:
Collaboration diagram for opengm::external::MPLP< GM >:Classes | |
| struct | Parameter |
Public Types | |
| typedef GM | GraphicalModelType |
| typedef opengm::Minimizer | AccumulationType |
| typedef visitors::VerboseVisitor< MPLP< GM > > | VerboseVisitorType |
| typedef visitors::EmptyVisitor< MPLP< GM > > | EmptyVisitorType |
| typedef visitors::TimingVisitor< MPLP< GM > > | TimingVisitorType |
Public Types inherited from opengm::Inference< GM, opengm::Minimizer > | |
| typedef GM | GraphicalModelType |
| typedef opengm::Minimizer | AccumulationType |
| typedef GraphicalModelType::LabelType | LabelType |
| typedef GraphicalModelType::IndexType | IndexType |
| typedef GraphicalModelType::ValueType | ValueType |
| typedef GraphicalModelType::OperatorType | OperatorType |
| typedef GraphicalModelType::FactorType | FactorType |
| typedef GraphicalModelType::IndependentFactorType | IndependentFactorType |
| typedef GraphicalModelType::FunctionIdentifier | FunctionIdentifier |
Public Member Functions | |
| MPLP (const GraphicalModelType &gm, const Parameter ¶=Parameter()) | |
| ~MPLP () | |
| std::string | name () const |
| const GraphicalModelType & | graphicalModel () const |
| template<class VISITOR > | |
| InferenceTermination | infer (VISITOR &visitor) |
| InferenceTermination | infer () |
| InferenceTermination | arg (std::vector< LabelType > &, const size_t &=1) const |
| GM::ValueType | bound () const |
| return a bound on the solution More... | |
| GM::ValueType | value () const |
| return the solution (value) More... | |
Public Member Functions inherited from opengm::Inference< GM, opengm::Minimizer > | |
| virtual | ~Inference () |
| virtual void | setStartingPoint (typename std::vector< LabelType >::const_iterator) |
| set initial labeling More... | |
| virtual InferenceTermination | arg (std::vector< LabelType > &, const size_t=1) const |
| output a solution More... | |
| virtual InferenceTermination | args (std::vector< std::vector< LabelType > > &) const |
| virtual InferenceTermination | marginal (const size_t, IndependentFactorType &) const |
| output a solution for a marginal for a specific variable More... | |
| virtual InferenceTermination | factorMarginal (const size_t, IndependentFactorType &) const |
| output a solution for a marginal for all variables connected to a factor More... | |
| InferenceTermination | constrainedOptimum (std::vector< IndexType > &, std::vector< LabelType > &, std::vector< LabelType > &) const |
| InferenceTermination | modeFromMarginal (std::vector< LabelType > &) const |
| InferenceTermination | modeFromFactorMarginal (std::vector< LabelType > &) const |
Public Attributes | |
| OPENGM_GM_TYPE_TYPEDEFS | |
Protected Member Functions | |
| bool | valueCheck () const |
Protected Attributes | |
| const GraphicalModelType & | gm_ |
| Parameter | parameter_ |
| FILE * | mplpLogFile_ |
| clock_t | mplpStart_ |
| MPLPAlg * | mplp_ |
MPLP MPLP inference algorithm class.
Maximum factor order : ?
| typedef opengm::Minimizer opengm::external::MPLP< GM >::AccumulationType |
| typedef visitors::EmptyVisitor<MPLP<GM> > opengm::external::MPLP< GM >::EmptyVisitorType |
| typedef GM opengm::external::MPLP< GM >::GraphicalModelType |
| typedef visitors::TimingVisitor<MPLP<GM> > opengm::external::MPLP< GM >::TimingVisitorType |
| typedef visitors::VerboseVisitor<MPLP<GM> > opengm::external::MPLP< GM >::VerboseVisitorType |
|
inline |
|
inline |
|
inline |
|
inlinevirtual |
return a bound on the solution
Reimplemented from opengm::Inference< GM, opengm::Minimizer >.
|
inlinevirtual |
Implements opengm::Inference< GM, opengm::Minimizer >.
|
inline |
|
inlinevirtual |
Implements opengm::Inference< GM, opengm::Minimizer >.
|
inlinevirtual |
Implements opengm::Inference< GM, opengm::Minimizer >.
|
inlinevirtual |
return the solution (value)
Reimplemented from opengm::Inference< GM, opengm::Minimizer >.
|
inlineprotected |
|
protected |
|
protected |
|
protected |
|
protected |
| opengm::external::MPLP< GM >::OPENGM_GM_TYPE_TYPEDEFS |
|
protected |
1.8.9.1