|
OpenGM
2.3.x
Discrete Graphical Model Library
|
#include <dynamicprogramming.hxx>
Inheritance diagram for opengm::DynamicProgramming< GM, ACC >:
Collaboration diagram for opengm::DynamicProgramming< GM, ACC >:Classes | |
| struct | Parameter |
Public Types | |
| typedef ACC | AccumulationType |
| typedef ACC | AccumulatorType |
| typedef GM | GraphicalModelType |
| typedef LabelType | MyStateType |
| typedef ValueType | MyValueType |
| typedef visitors::VerboseVisitor< DynamicProgramming< GM, ACC > > | VerboseVisitorType |
| typedef visitors::EmptyVisitor< DynamicProgramming< GM, ACC > > | EmptyVisitorType |
| typedef visitors::TimingVisitor< DynamicProgramming< 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 | |
| DynamicProgramming (const GraphicalModelType &, const Parameter &=Parameter()) | |
| ~DynamicProgramming () | |
| std::string | name () const |
| const GraphicalModelType & | graphicalModel () const |
| InferenceTermination | infer () |
| template<class VISITOR > | |
| InferenceTermination | infer (VISITOR &) |
| InferenceTermination | arg (std::vector< LabelType > &, const size_t=1) const |
| output a solution More... | |
| void | getNodeInfo (const IndexType Inode, std::vector< ValueType > &values, std::vector< std::vector< LabelType > > &substates, std::vector< IndexType > &nodes) const |
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 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... | |
| 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 16 of file dynamicprogramming.hxx.
| typedef ACC opengm::DynamicProgramming< GM, ACC >::AccumulationType |
Definition at line 18 of file dynamicprogramming.hxx.
| typedef ACC opengm::DynamicProgramming< GM, ACC >::AccumulatorType |
Definition at line 19 of file dynamicprogramming.hxx.
| typedef visitors::EmptyVisitor<DynamicProgramming<GM, ACC> > opengm::DynamicProgramming< GM, ACC >::EmptyVisitorType |
Definition at line 25 of file dynamicprogramming.hxx.
| typedef GM opengm::DynamicProgramming< GM, ACC >::GraphicalModelType |
Definition at line 20 of file dynamicprogramming.hxx.
| typedef LabelType opengm::DynamicProgramming< GM, ACC >::MyStateType |
Definition at line 22 of file dynamicprogramming.hxx.
| typedef ValueType opengm::DynamicProgramming< GM, ACC >::MyValueType |
Definition at line 23 of file dynamicprogramming.hxx.
| typedef visitors::TimingVisitor<DynamicProgramming<GM, ACC> > opengm::DynamicProgramming< GM, ACC >::TimingVisitorType |
Definition at line 26 of file dynamicprogramming.hxx.
| typedef visitors::VerboseVisitor<DynamicProgramming<GM, ACC> > opengm::DynamicProgramming< GM, ACC >::VerboseVisitorType |
Definition at line 24 of file dynamicprogramming.hxx.
|
inline |
Definition at line 78 of file dynamicprogramming.hxx.
| opengm::DynamicProgramming< GM, ACC >::~DynamicProgramming | ( | ) |
Definition at line 70 of file dynamicprogramming.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 244 of file dynamicprogramming.hxx.
|
inline |
Definition at line 299 of file dynamicprogramming.hxx.
|
inlinevirtual |
Implements opengm::Inference< GM, ACC >.
Definition at line 65 of file dynamicprogramming.hxx.
|
inlinevirtual |
Implements opengm::Inference< GM, ACC >.
Definition at line 155 of file dynamicprogramming.hxx.
|
inline |
Definition at line 164 of file dynamicprogramming.hxx.
|
inlinevirtual |
Implements opengm::Inference< GM, ACC >.
Definition at line 59 of file dynamicprogramming.hxx.
| opengm::DynamicProgramming< GM, ACC >::OPENGM_GM_TYPE_TYPEDEFS |
Definition at line 21 of file dynamicprogramming.hxx.
1.8.9.1