|
OpenGM
2.3.x
Discrete Graphical Model Library
|
AD3
.
More...
#include <ad3.hxx>
Inheritance diagram for opengm::external::AD3Inf< GM, ACC >:
Collaboration diagram for opengm::external::AD3Inf< GM, ACC >:Classes | |
| struct | Parameter |
Public Types | |
| enum | SolverType { AD3_LP, AD3_ILP, PSDD_LP } |
| typedef GM | GraphicalModelType |
| typedef ACC | AccumulationType |
| typedef visitors::VerboseVisitor< AD3Inf< GM, ACC > > | VerboseVisitorType |
| typedef visitors::EmptyVisitor< AD3Inf< GM, ACC > > | EmptyVisitorType |
| typedef visitors::TimingVisitor< AD3Inf< 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 | |
| AD3Inf (const GraphicalModelType &gm, const Parameter para=Parameter()) | |
| ~AD3Inf () | |
| std::string | name () const |
| const GraphicalModelType & | graphicalModel () const |
| InferenceTermination | infer () |
| template<class VisitorType > | |
| InferenceTermination | infer (VisitorType &) |
| InferenceTermination | arg (std::vector< LabelType > &, const size_t &=1) const |
| ValueType | value () const |
| return the solution (value) More... | |
| ValueType | bound () const |
| return a bound on the solution More... | |
| ValueType | valueToMaxSum (const ValueType val) const |
| ValueType | valueFromMaxSum (const ValueType val) const |
| template<class N_LABELS_ITER > | |
| AD3Inf (N_LABELS_ITER nLabelsBegin, N_LABELS_ITER nLabelsEnd, const Parameter para=Parameter()) | |
| AD3Inf (const UInt64Type nVar, const UInt64Type nLabels, const Parameter para, const bool foo) | |
| template<class VI_ITERATOR , class FUNCTION > | |
| void | addFactor (VI_ITERATOR viBegin, VI_ITERATOR viEnd, const FUNCTION &function) |
| const std::vector< double > & | posteriors () const |
| const std::vector< double > & | higherOrderPosteriors () 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 | arg (std::vector< LabelType > &, const size_t=1) const |
| output a solution 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... | |
| 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 | |
AD3
.
| typedef ACC opengm::external::AD3Inf< GM, ACC >::AccumulationType |
| typedef visitors::EmptyVisitor<AD3Inf<GM,ACC> > opengm::external::AD3Inf< GM, ACC >::EmptyVisitorType |
| typedef GM opengm::external::AD3Inf< GM, ACC >::GraphicalModelType |
| typedef visitors::TimingVisitor<AD3Inf<GM,ACC> > opengm::external::AD3Inf< GM, ACC >::TimingVisitorType |
| typedef visitors::VerboseVisitor<AD3Inf<GM,ACC> > opengm::external::AD3Inf< GM, ACC >::VerboseVisitorType |
| opengm::external::AD3Inf< GM, ACC >::AD3Inf | ( | const GraphicalModelType & | gm, |
| const Parameter | para = Parameter() |
||
| ) |
| opengm::external::AD3Inf< GM, ACC >::~AD3Inf | ( | ) |
| opengm::external::AD3Inf< GM, ACC >::AD3Inf | ( | N_LABELS_ITER | nLabelsBegin, |
| N_LABELS_ITER | nLabelsEnd, | ||
| const Parameter | para = Parameter() |
||
| ) |
| opengm::external::AD3Inf< GM, ACC >::AD3Inf | ( | const UInt64Type | nVar, |
| const UInt64Type | nLabels, | ||
| const Parameter | para, | ||
| const bool | foo | ||
| ) |
| void opengm::external::AD3Inf< GM, ACC >::addFactor | ( | VI_ITERATOR | viBegin, |
| VI_ITERATOR | viEnd, | ||
| const FUNCTION & | function | ||
| ) |
|
inline |
|
inlinevirtual |
return a bound on the solution
Reimplemented from opengm::Inference< GM, ACC >.
|
inlinevirtual |
Implements opengm::Inference< GM, ACC >.
|
inline |
|
inlinevirtual |
Implements opengm::Inference< GM, ACC >.
| InferenceTermination opengm::external::AD3Inf< GM, ACC >::infer | ( | VisitorType & | visitor | ) |
|
inlinevirtual |
Implements opengm::Inference< GM, ACC >.
|
inline |
|
inlinevirtual |
return the solution (value)
Reimplemented from opengm::Inference< GM, ACC >.
|
inline |
|
inline |
| opengm::external::AD3Inf< GM, ACC >::OPENGM_GM_TYPE_TYPEDEFS |
1.8.9.1