|
OpenGM
2.3.x
Discrete Graphical Model Library
|
Iterated Conditional Modes Algorithm
J. E. Besag, "On the Statistical Analysis of Dirty Pictures", Journal of the Royal Statistical Society, Series B 48(3):259-302, 1986.
More...
#include <icm.hxx>
Inheritance diagram for opengm::ICM< GM, ACC >:
Collaboration diagram for opengm::ICM< GM, ACC >:Classes | |
| class | Parameter |
Public Types | |
| enum | MoveType { SINGLE_VARIABLE = 0, FACTOR = 1 } |
| typedef ACC | AccumulationType |
| typedef GM | GraphicalModelType |
| typedef Movemaker< GraphicalModelType > | MovemakerType |
| typedef opengm::visitors::VerboseVisitor< ICM< GM, ACC > > | VerboseVisitorType |
| typedef opengm::visitors::EmptyVisitor< ICM< GM, ACC > > | EmptyVisitorType |
| typedef opengm::visitors::TimingVisitor< ICM< GM, ACC > > | TimingVisitorType |
Public Types inherited from opengm::Inference< GM, ACC > | |
| typedef GM | GraphicalModelType |
| typedef ACC | 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 | |
| ICM (const GraphicalModelType &) | |
| ICM (const GraphicalModelType &, const Parameter &) | |
| std::string | name () const |
| const GraphicalModelType & | graphicalModel () const |
| InferenceTermination | infer () |
| void | reset () |
| template<class VisitorType > | |
| InferenceTermination | infer (VisitorType &) |
| 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 ValueType | value () const |
| return the solution (value) More... | |
| size_t | currentMoveType () const |
Public Member Functions inherited from opengm::Inference< GM, ACC > | |
| virtual | ~Inference () |
| 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... | |
| virtual ValueType | bound () const |
| return a bound on the solution 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 | |
Iterated Conditional Modes Algorithm
J. E. Besag, "On the Statistical Analysis of Dirty Pictures", Journal of the Royal Statistical Society, Series B 48(3):259-302, 1986.
| typedef ACC opengm::ICM< GM, ACC >::AccumulationType |
| typedef opengm::visitors::EmptyVisitor<ICM<GM,ACC> > opengm::ICM< GM, ACC >::EmptyVisitorType |
| typedef GM opengm::ICM< GM, ACC >::GraphicalModelType |
| typedef Movemaker<GraphicalModelType> opengm::ICM< GM, ACC >::MovemakerType |
| typedef opengm::visitors::TimingVisitor<ICM<GM,ACC> > opengm::ICM< GM, ACC >::TimingVisitorType |
| typedef opengm::visitors::VerboseVisitor<ICM<GM,ACC> > opengm::ICM< GM, ACC >::VerboseVisitorType |
|
inline |
| opengm::ICM< GM, ACC >::ICM | ( | const GraphicalModelType & | gm, |
| const Parameter & | parameter | ||
| ) |
|
inlinevirtual |
output a solution
| [out] | arg | labeling |
| argIndex | solution index (1=best, 2=second best, etc.) |
Reimplemented from opengm::Inference< GM, ACC >.
|
inline |
|
inlinevirtual |
Implements opengm::Inference< GM, ACC >.
|
inlinevirtual |
Implements opengm::Inference< GM, ACC >.
| InferenceTermination opengm::ICM< GM, ACC >::infer | ( | VisitorType & | visitor | ) |
|
inlinevirtual |
Implements opengm::Inference< GM, ACC >.
|
inline |
|
inlinevirtual |
set initial labeling
| begin | iterator to the beginning of a sequence of labels |
Reimplemented from opengm::Inference< GM, ACC >.
|
inlinevirtual |
return the solution (value)
Reimplemented from opengm::Inference< GM, ACC >.
Definition at line 77 of file icm.hxx.
Here is the call graph for this function:| opengm::ICM< GM, ACC >::OPENGM_GM_TYPE_TYPEDEFS |
1.8.9.1