|
OpenGM
2.3.x
Discrete Graphical Model Library
|
#include <fusion_based_inf.hxx>
Inheritance diagram for opengm::FusionBasedInf< GM, PROPOSAL_GEN >:
Collaboration diagram for opengm::FusionBasedInf< GM, PROPOSAL_GEN >:Classes | |
| class | Parameter |
Public Types | |
| typedef PROPOSAL_GEN | ProposalGen |
| typedef ProposalGen::AccumulationType | AccumulationType |
| typedef AccumulationType | ACC |
| typedef GM | GraphicalModelType |
| typedef opengm::visitors::VerboseVisitor< FusionBasedInf< GM, PROPOSAL_GEN > > | VerboseVisitorType |
| typedef opengm::visitors::EmptyVisitor< FusionBasedInf< GM, PROPOSAL_GEN > > | EmptyVisitorType |
| typedef opengm::visitors::TimingVisitor< FusionBasedInf< GM, PROPOSAL_GEN > > | TimingVisitorType |
| typedef HlFusionMover< GraphicalModelType, AccumulationType > | FusionMoverType |
| typedef HlFusionMover< GraphicalModelType, AccumulationType > | FusionMover |
| typedef ProposalGen::Parameter | ProposalParameter |
| typedef FusionMoverType::Parameter | FusionParameter |
Public Types inherited from opengm::Inference< GM, PROPOSAL_GEN::AccumulationType > | |
| typedef GM | GraphicalModelType |
| typedef PROPOSAL_GEN::AccumulationType | 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 | |
| FusionBasedInf (const GraphicalModelType &, const Parameter &=Parameter()) | |
| ~FusionBasedInf () | |
| 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... | |
Public Member Functions inherited from opengm::Inference< GM, PROPOSAL_GEN::AccumulationType > | |
| 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 | |
Definition at line 929 of file fusion_based_inf.hxx.
| typedef AccumulationType opengm::FusionBasedInf< GM, PROPOSAL_GEN >::ACC |
Definition at line 934 of file fusion_based_inf.hxx.
| typedef ProposalGen::AccumulationType opengm::FusionBasedInf< GM, PROPOSAL_GEN >::AccumulationType |
Definition at line 933 of file fusion_based_inf.hxx.
| typedef opengm::visitors::EmptyVisitor<FusionBasedInf<GM, PROPOSAL_GEN> > opengm::FusionBasedInf< GM, PROPOSAL_GEN >::EmptyVisitorType |
Definition at line 939 of file fusion_based_inf.hxx.
| typedef HlFusionMover<GraphicalModelType, AccumulationType> opengm::FusionBasedInf< GM, PROPOSAL_GEN >::FusionMover |
Definition at line 945 of file fusion_based_inf.hxx.
| typedef HlFusionMover<GraphicalModelType, AccumulationType> opengm::FusionBasedInf< GM, PROPOSAL_GEN >::FusionMoverType |
Definition at line 944 of file fusion_based_inf.hxx.
| typedef FusionMoverType::Parameter opengm::FusionBasedInf< GM, PROPOSAL_GEN >::FusionParameter |
Definition at line 948 of file fusion_based_inf.hxx.
| typedef GM opengm::FusionBasedInf< GM, PROPOSAL_GEN >::GraphicalModelType |
Definition at line 935 of file fusion_based_inf.hxx.
| typedef PROPOSAL_GEN opengm::FusionBasedInf< GM, PROPOSAL_GEN >::ProposalGen |
Definition at line 932 of file fusion_based_inf.hxx.
| typedef ProposalGen::Parameter opengm::FusionBasedInf< GM, PROPOSAL_GEN >::ProposalParameter |
Definition at line 947 of file fusion_based_inf.hxx.
| typedef opengm::visitors::TimingVisitor<FusionBasedInf<GM, PROPOSAL_GEN> > opengm::FusionBasedInf< GM, PROPOSAL_GEN >::TimingVisitorType |
Definition at line 940 of file fusion_based_inf.hxx.
| typedef opengm::visitors::VerboseVisitor<FusionBasedInf<GM, PROPOSAL_GEN> > opengm::FusionBasedInf< GM, PROPOSAL_GEN >::VerboseVisitorType |
Definition at line 938 of file fusion_based_inf.hxx.
| opengm::FusionBasedInf< GM, PROPOSAL_GEN >::FusionBasedInf | ( | const GraphicalModelType & | gm, |
| const Parameter & | parameter = Parameter() |
||
| ) |
Definition at line 1007 of file fusion_based_inf.hxx.
| opengm::FusionBasedInf< GM, PROPOSAL_GEN >::~FusionBasedInf | ( | ) |
Definition at line 1041 of file fusion_based_inf.hxx.
|
inlinevirtual |
output a solution
| [out] | arg | labeling |
| argIndex | solution index (1=best, 2=second best, etc.) |
Reimplemented from opengm::Inference< GM, PROPOSAL_GEN::AccumulationType >.
Definition at line 1154 of file fusion_based_inf.hxx.
|
inlinevirtual |
Implements opengm::Inference< GM, PROPOSAL_GEN::AccumulationType >.
Definition at line 1074 of file fusion_based_inf.hxx.
|
inlinevirtual |
Implements opengm::Inference< GM, PROPOSAL_GEN::AccumulationType >.
Definition at line 1081 of file fusion_based_inf.hxx.
| InferenceTermination opengm::FusionBasedInf< GM, PROPOSAL_GEN >::infer | ( | VisitorType & | visitor | ) |
Definition at line 1091 of file fusion_based_inf.hxx.
|
inlinevirtual |
Implements opengm::Inference< GM, PROPOSAL_GEN::AccumulationType >.
Definition at line 1067 of file fusion_based_inf.hxx.
|
inline |
Definition at line 1049 of file fusion_based_inf.hxx.
|
inlinevirtual |
set initial labeling
| begin | iterator to the beginning of a sequence of labels |
Reimplemented from opengm::Inference< GM, PROPOSAL_GEN::AccumulationType >.
Definition at line 1057 of file fusion_based_inf.hxx.
|
inlinevirtual |
return the solution (value)
Reimplemented from opengm::Inference< GM, PROPOSAL_GEN::AccumulationType >.
Definition at line 987 of file fusion_based_inf.hxx.
| opengm::FusionBasedInf< GM, PROPOSAL_GEN >::OPENGM_GM_TYPE_TYPEDEFS |
Definition at line 936 of file fusion_based_inf.hxx.
1.8.9.1