|
OpenGM
2.3.x
Discrete Graphical Model Library
|
message passing (BPS, TRWS):
[?]
More...
#include <trws.hxx>
Inheritance diagram for opengm::external::TRWS< GM >:
Collaboration diagram for opengm::external::TRWS< GM >:Classes | |
| struct | Parameter |
| Parameter. More... | |
Public Types | |
| typedef GM | GraphicalModelType |
| typedef opengm::Minimizer | AccumulationType |
| typedef visitors::VerboseVisitor< TRWS< GM > > | VerboseVisitorType |
| typedef visitors::EmptyVisitor< TRWS< GM > > | EmptyVisitorType |
| typedef visitors::TimingVisitor< TRWS< GM > > | TimingVisitorType |
| typedef size_t | VariableIndex |
Public Types inherited from opengm::Inference< GM, opengm::Minimizer > | |
| typedef GM | GraphicalModelType |
| typedef opengm::Minimizer | 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 | |
| TRWS (const GraphicalModelType &gm, const Parameter para=Parameter()) | |
| ~TRWS () | |
| std::string | name () const |
| const GraphicalModelType & | graphicalModel () const |
| template<class VISITOR > | |
| InferenceTermination | infer (VISITOR &visitor) |
| InferenceTermination | infer () |
| InferenceTermination | arg (std::vector< LabelType > &, const size_t &=1) const |
| InferenceTermination | marginal (const size_t variableIndex, IndependentFactorType &out) const |
| output a solution for a marginal for a specific variable More... | |
| GM::ValueType | bound () const |
| return a bound on the solution More... | |
| GM::ValueType | value () const |
| return the solution (value) More... | |
Public Member Functions inherited from opengm::Inference< GM, opengm::Minimizer > | |
| virtual | ~Inference () |
| virtual 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 InferenceTermination | args (std::vector< std::vector< LabelType > > &) const |
| 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 | |
message passing (BPS, TRWS):
[?]
TRWS :


| typedef opengm::Minimizer opengm::external::TRWS< GM >::AccumulationType |
| typedef visitors::EmptyVisitor<TRWS<GM> > opengm::external::TRWS< GM >::EmptyVisitorType |
| typedef GM opengm::external::TRWS< GM >::GraphicalModelType |
| typedef visitors::TimingVisitor<TRWS<GM> > opengm::external::TRWS< GM >::TimingVisitorType |
| typedef size_t opengm::external::TRWS< GM >::VariableIndex |
| typedef visitors::VerboseVisitor<TRWS<GM> > opengm::external::TRWS< GM >::VerboseVisitorType |
| opengm::external::TRWS< GM >::TRWS | ( | const GraphicalModelType & | gm, |
| const Parameter | para = Parameter() |
||
| ) |
| opengm::external::TRWS< GM >::~TRWS | ( | ) |
|
inline |
|
inlinevirtual |
return a bound on the solution
Reimplemented from opengm::Inference< GM, opengm::Minimizer >.
|
inlinevirtual |
Implements opengm::Inference< GM, opengm::Minimizer >.
|
inline |
|
inlinevirtual |
Implements opengm::Inference< GM, opengm::Minimizer >.
|
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, opengm::Minimizer >.
|
inlinevirtual |
Implements opengm::Inference< GM, opengm::Minimizer >.
|
inlinevirtual |
return the solution (value)
Reimplemented from opengm::Inference< GM, opengm::Minimizer >.
| opengm::external::TRWS< GM >::OPENGM_GM_TYPE_TYPEDEFS |
1.8.9.1