|
OpenGM
2.3.x
Discrete Graphical Model Library
|
#include <loop_corrected_bp.hxx>
Inheritance diagram for opengm::external::libdai::LoopCorrectedBp< GM, ACC, CAVITY_INFERENCE >:
Collaboration diagram for opengm::external::libdai::LoopCorrectedBp< GM, ACC, CAVITY_INFERENCE >:Classes | |
| struct | Parameter |
Public Types | |
| enum | UpdateRule { SEQFIX, SEQRND } |
| enum | Cavity { FULL, PAIR, PAIR2, UNIFORM } |
| typedef ACC | AccumulationType |
| typedef GM | GraphicalModelType |
| typedef opengm::visitors::VerboseVisitor< LoopCorrectedBp< GM, ACC, CAVITY_INFERENCE > > | VerboseVisitorType |
| typedef opengm::visitors::TimingVisitor< LoopCorrectedBp< GM, ACC, CAVITY_INFERENCE > > | TimingVisitorType |
| typedef opengm::visitors::EmptyVisitor< LoopCorrectedBp< GM, ACC, CAVITY_INFERENCE > > | EmptyVisitorType |
| typedef CAVITY_INFERENCE::Parameter | CavityInferenceParameter |
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 | |
| std::string | name () const |
| LoopCorrectedBp (const GM &gm, const Parameter param=Parameter()) | |
| virtual const GraphicalModelType & | graphicalModel () const |
| virtual void | reset () |
| virtual InferenceTermination | infer () |
| template<class VISITOR > | |
| InferenceTermination | infer (VISITOR &visitor) |
| virtual InferenceTermination | arg (std::vector< LabelType > &v, const size_t argnr=1) const |
| output a solution More... | |
| virtual InferenceTermination | marginal (const size_t v, IndependentFactorType &m) const |
| output a solution for a marginal for a specific variable More... | |
| virtual InferenceTermination | factorMarginal (const size_t f, IndependentFactorType &m) const |
| output a solution for a marginal for all variables connected to a factor More... | |
Public Member Functions inherited from opengm::Inference< GM, ACC > | |
| virtual | ~Inference () |
| virtual void | setStartingPoint (typename std::vector< LabelType >::const_iterator) |
| set initial labeling More... | |
| virtual InferenceTermination | args (std::vector< std::vector< LabelType > > &) const |
| virtual ValueType | bound () const |
| return a bound on the solution More... | |
| virtual ValueType | value () const |
| return the solution (value) 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 | |
Definition at line 17 of file loop_corrected_bp.hxx.
| typedef ACC opengm::external::libdai::LoopCorrectedBp< GM, ACC, CAVITY_INFERENCE >::AccumulationType |
Definition at line 19 of file loop_corrected_bp.hxx.
| typedef CAVITY_INFERENCE::Parameter opengm::external::libdai::LoopCorrectedBp< GM, ACC, CAVITY_INFERENCE >::CavityInferenceParameter |
Definition at line 26 of file loop_corrected_bp.hxx.
| typedef opengm::visitors::EmptyVisitor< LoopCorrectedBp<GM,ACC,CAVITY_INFERENCE> > opengm::external::libdai::LoopCorrectedBp< GM, ACC, CAVITY_INFERENCE >::EmptyVisitorType |
Definition at line 24 of file loop_corrected_bp.hxx.
| typedef GM opengm::external::libdai::LoopCorrectedBp< GM, ACC, CAVITY_INFERENCE >::GraphicalModelType |
Definition at line 20 of file loop_corrected_bp.hxx.
| typedef opengm::visitors::TimingVisitor< LoopCorrectedBp<GM,ACC,CAVITY_INFERENCE> > opengm::external::libdai::LoopCorrectedBp< GM, ACC, CAVITY_INFERENCE >::TimingVisitorType |
Definition at line 23 of file loop_corrected_bp.hxx.
| typedef opengm::visitors::VerboseVisitor< LoopCorrectedBp<GM,ACC,CAVITY_INFERENCE> > opengm::external::libdai::LoopCorrectedBp< GM, ACC, CAVITY_INFERENCE >::VerboseVisitorType |
Definition at line 22 of file loop_corrected_bp.hxx.
| enum opengm::external::libdai::LoopCorrectedBp::Cavity |
| Enumerator | |
|---|---|
| FULL | |
| PAIR | |
| PAIR2 | |
| UNIFORM | |
Definition at line 31 of file loop_corrected_bp.hxx.
| enum opengm::external::libdai::LoopCorrectedBp::UpdateRule |
| Enumerator | |
|---|---|
| SEQFIX | |
| SEQRND | |
Definition at line 27 of file loop_corrected_bp.hxx.
|
inline |
Definition at line 105 of file loop_corrected_bp.hxx.
|
inlinevirtual |
output a solution
| [out] | arg | labeling |
| argIndex | solution index (1=best, 2=second best, etc.) |
Reimplemented from opengm::Inference< GM, ACC >.
Definition at line 130 of file loop_corrected_bp.hxx.
|
inlinevirtual |
output a solution for a marginal for all variables connected to a factor
| factorIndex | index of the factor | |
| [out] | out | the marginal |
Reimplemented from opengm::Inference< GM, ACC >.
Definition at line 136 of file loop_corrected_bp.hxx.
|
inlinevirtual |
Implements opengm::Inference< GM, ACC >.
Definition at line 110 of file loop_corrected_bp.hxx.
|
inlinevirtual |
Implements opengm::Inference< GM, ACC >.
Definition at line 118 of file loop_corrected_bp.hxx.
|
inline |
Definition at line 123 of file loop_corrected_bp.hxx.
|
inlinevirtual |
output a solution for a marginal for a specific variable
| variableIndex | index of the variable | |
| [out] | out | the marginal |
Reimplemented from opengm::Inference< GM, ACC >.
Definition at line 133 of file loop_corrected_bp.hxx.
|
inlinevirtual |
Implements opengm::Inference< GM, ACC >.
Definition at line 37 of file loop_corrected_bp.hxx.
|
inlinevirtual |
Definition at line 114 of file loop_corrected_bp.hxx.
| opengm::external::libdai::LoopCorrectedBp< GM, ACC, CAVITY_INFERENCE >::OPENGM_GM_TYPE_TYPEDEFS |
Definition at line 21 of file loop_corrected_bp.hxx.
1.8.9.1