|
OpenGM
2.3.x
Discrete Graphical Model Library
|
#include <self_fusion.hxx>
Inheritance diagram for opengm::SelfFusion< INFERENCE >:
Collaboration diagram for opengm::SelfFusion< INFERENCE >:Classes | |
| class | Parameter |
Public Types | |
| enum | FusionSolver { QpboFusion, CplexFusion, LazyFlipperFusion } |
| typedef INFERENCE::AccumulationType | AccumulationType |
| typedef INFERENCE::GraphicalModelType | GraphicalModelType |
| typedef visitors::VerboseVisitor< SelfFusion< INFERENCE > > | VerboseVisitorType |
| typedef visitors::EmptyVisitor< SelfFusion< INFERENCE > > | EmptyVisitorType |
| typedef visitors::TimingVisitor< SelfFusion< INFERENCE > > | TimingVisitorType |
| typedef SelfFusion< INFERENCE > | SelfType |
| typedef INFERENCE | ToFuseInferenceType |
Public Types inherited from opengm::Inference< INFERENCE::GraphicalModelType, INFERENCE::AccumulationType > | |
| typedef INFERENCE::GraphicalModelType | GraphicalModelType |
| typedef INFERENCE::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 | |
| SelfFusion (const GraphicalModelType &, const Parameter &=Parameter()) | |
| std::string | name () const |
| const GraphicalModelType & | graphicalModel () const |
| InferenceTermination | infer () |
| 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... | |
| ValueType | value () const |
| return the solution (value) More... | |
| ValueType | bound () const |
| return a bound on the solution More... | |
| const Parameter & | parameter () const |
| const size_t | maxOrder () const |
Public Member Functions inherited from opengm::Inference< INFERENCE::GraphicalModelType, INFERENCE::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... | |
| 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 266 of file self_fusion.hxx.
| typedef INFERENCE::AccumulationType opengm::SelfFusion< INFERENCE >::AccumulationType |
Definition at line 270 of file self_fusion.hxx.
| typedef visitors::EmptyVisitor< SelfFusion<INFERENCE> > opengm::SelfFusion< INFERENCE >::EmptyVisitorType |
Definition at line 275 of file self_fusion.hxx.
| typedef INFERENCE::GraphicalModelType opengm::SelfFusion< INFERENCE >::GraphicalModelType |
Definition at line 271 of file self_fusion.hxx.
| typedef SelfFusion<INFERENCE> opengm::SelfFusion< INFERENCE >::SelfType |
Definition at line 278 of file self_fusion.hxx.
| typedef visitors::TimingVisitor< SelfFusion<INFERENCE> > opengm::SelfFusion< INFERENCE >::TimingVisitorType |
Definition at line 276 of file self_fusion.hxx.
| typedef INFERENCE opengm::SelfFusion< INFERENCE >::ToFuseInferenceType |
Definition at line 280 of file self_fusion.hxx.
| typedef visitors::VerboseVisitor< SelfFusion<INFERENCE> > opengm::SelfFusion< INFERENCE >::VerboseVisitorType |
Definition at line 274 of file self_fusion.hxx.
| enum opengm::SelfFusion::FusionSolver |
| Enumerator | |
|---|---|
| QpboFusion | |
| CplexFusion | |
| LazyFlipperFusion | |
Definition at line 282 of file self_fusion.hxx.
| opengm::SelfFusion< INFERENCE >::SelfFusion | ( | const GraphicalModelType & | gm, |
| const Parameter & | parameter = Parameter() |
||
| ) |
Definition at line 367 of file self_fusion.hxx.
|
inlinevirtual |
output a solution
| [out] | arg | labeling |
| argIndex | solution index (1=best, 2=second best, etc.) |
Reimplemented from opengm::Inference< INFERENCE::GraphicalModelType, INFERENCE::AccumulationType >.
Definition at line 439 of file self_fusion.hxx.
|
inlinevirtual |
return a bound on the solution
Reimplemented from opengm::Inference< INFERENCE::GraphicalModelType, INFERENCE::AccumulationType >.
Definition at line 338 of file self_fusion.hxx.
|
inlinevirtual |
Implements opengm::Inference< INFERENCE::GraphicalModelType, INFERENCE::AccumulationType >.
Definition at line 400 of file self_fusion.hxx.
|
inlinevirtual |
Implements opengm::Inference< INFERENCE::GraphicalModelType, INFERENCE::AccumulationType >.
Definition at line 407 of file self_fusion.hxx.
| InferenceTermination opengm::SelfFusion< INFERENCE >::infer | ( | VisitorType & | visitor | ) |
Definition at line 418 of file self_fusion.hxx.
|
inline |
Definition at line 345 of file self_fusion.hxx.
|
inlinevirtual |
Implements opengm::Inference< INFERENCE::GraphicalModelType, INFERENCE::AccumulationType >.
Definition at line 393 of file self_fusion.hxx.
|
inline |
Definition at line 342 of file self_fusion.hxx.
|
inlinevirtual |
set initial labeling
| begin | iterator to the beginning of a sequence of labels |
Reimplemented from opengm::Inference< INFERENCE::GraphicalModelType, INFERENCE::AccumulationType >.
Definition at line 385 of file self_fusion.hxx.
|
inlinevirtual |
return the solution (value)
Reimplemented from opengm::Inference< INFERENCE::GraphicalModelType, INFERENCE::AccumulationType >.
Definition at line 334 of file self_fusion.hxx.
| opengm::SelfFusion< INFERENCE >::OPENGM_GM_TYPE_TYPEDEFS |
Definition at line 272 of file self_fusion.hxx.
1.8.9.1