|
OpenGM
2.3.x
Discrete Graphical Model Library
|
#include <dmc.hxx>
Inheritance diagram for opengm::DMC< GM, INF >:
Collaboration diagram for opengm::DMC< GM, INF >:Classes | |
| class | Parameter |
Public Types | |
| typedef INF::AccumulationType | ACC |
| typedef ACC | AccumulationType |
| typedef GM | GraphicalModelType |
| typedef INF::Parameter | InfParam |
| typedef opengm::visitors::VerboseVisitor< DMC< GM, INF > > | VerboseVisitorType |
| typedef opengm::visitors::EmptyVisitor< DMC< GM, INF > > | EmptyVisitorType |
| typedef opengm::visitors::TimingVisitor< DMC< GM, INF > > | TimingVisitorType |
Public Types inherited from opengm::Inference< GM, INF::AccumulationType > | |
| typedef GM | GraphicalModelType |
| typedef INF::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 | |
| DMC (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... | |
Public Member Functions inherited from opengm::Inference< GM, INF::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 | |
| typedef INF::AccumulationType opengm::DMC< GM, INF >::ACC |
| typedef ACC opengm::DMC< GM, INF >::AccumulationType |
| typedef opengm::visitors::EmptyVisitor<DMC<GM,INF> > opengm::DMC< GM, INF >::EmptyVisitorType |
| typedef GM opengm::DMC< GM, INF >::GraphicalModelType |
| typedef INF::Parameter opengm::DMC< GM, INF >::InfParam |
| typedef opengm::visitors::TimingVisitor<DMC<GM,INF> > opengm::DMC< GM, INF >::TimingVisitorType |
| typedef opengm::visitors::VerboseVisitor<DMC<GM,INF> > opengm::DMC< GM, INF >::VerboseVisitorType |
|
inline |
|
inlinevirtual |
output a solution
| [out] | arg | labeling |
| argIndex | solution index (1=best, 2=second best, etc.) |
Reimplemented from opengm::Inference< GM, INF::AccumulationType >.
|
inlinevirtual |
Implements opengm::Inference< GM, INF::AccumulationType >.
|
inlinevirtual |
Implements opengm::Inference< GM, INF::AccumulationType >.
| InferenceTermination opengm::DMC< GM, INF >::infer | ( | VisitorType & | visitor | ) |
|
inlinevirtual |
Implements opengm::Inference< GM, INF::AccumulationType >.
|
inline |
|
inlinevirtual |
set initial labeling
| begin | iterator to the beginning of a sequence of labels |
Reimplemented from opengm::Inference< GM, INF::AccumulationType >.
|
inlinevirtual |
return the solution (value)
Reimplemented from opengm::Inference< GM, INF::AccumulationType >.
| opengm::DMC< GM, INF >::OPENGM_GM_TYPE_TYPEDEFS |
1.8.9.1