|
OpenGM
2.3.x
Discrete Graphical Model Library
|
GCOLIB GCOLIB inference algorithm class. More...
#include <gco.hxx>
Inheritance diagram for opengm::external::GCOLIB< GM >:
Collaboration diagram for opengm::external::GCOLIB< GM >:Classes | |
| struct | Parameter |
| Parameter. More... | |
Public Types | |
| typedef GM | GraphicalModelType |
| typedef opengm::Minimizer | AccumulationType |
| typedef visitors::VerboseVisitor< GCOLIB< GM > > | VerboseVisitorType |
| typedef visitors::EmptyVisitor< GCOLIB< GM > > | EmptyVisitorType |
| typedef visitors::TimingVisitor< GCOLIB< GM > > | TimingVisitorType |
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 | |
| GCOLIB (const GraphicalModelType &gm, const Parameter ¶) | |
| ~GCOLIB () | |
| 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 |
| 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 | 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 | |
Protected Types | |
| typedef gcoLib::GCoptimization::EnergyTermType | EnergyTermType |
Protected Member Functions | |
| void | generateEnergyWeightedTable () |
| void | setD () |
| void | setV () |
| void | setWeightedTableWeights () |
| bool | hasSameLabelNumber () const |
| bool | sameEnergyTable () const |
| bool | symmetricEnergyTable () const |
| void | generateEnergyView () |
| void | generateFirstOrderFactorLookupTable () |
| void | generateSecondOrderFactorLookupTables () |
| void | generateEnergyTables () |
| void | copyFactorValues () |
| bool | valueCheck () const |
Static Protected Member Functions | |
| static EnergyTermType | firstOrderFactorViewAccess (int pix, int i) |
| static EnergyTermType | secondOrderFactorViewGridAccess (int pix1, int pix2, int i, int j) |
| static EnergyTermType | secondOrderFactorViewGeneralAccess (int pix1, int pix2, int i, int j) |
| static EnergyTermType | firstOrderFactorTablesAccess (int pix, int i) |
| static EnergyTermType | secondOrderFactorTablesGridAccess (int pix1, int pix2, int i, int j) |
Protected Attributes | |
| const GraphicalModelType & | gm_ |
| Parameter | parameter_ |
| bool | isGrid_ |
| IndexType | sizeX_ |
| IndexType | sizeY_ |
| const IndexType | numNodes_ |
| const LabelType | numLabels_ |
| marray::Matrix< size_t > | grid_ |
| gcoLib::GCoptimizationGeneralGraph * | GCOGeneralGraph_ |
| gcoLib::GCoptimizationGridGraph * | GCOGridGraph_ |
| EnergyTermType * | D_ |
| EnergyTermType * | V_ |
| EnergyTermType * | hCue_ |
| EnergyTermType * | vCue_ |
| std::vector< std::vector< IndexType > > | firstOrderFactorLookupTable_ |
| std::vector< std::vector< IndexType > > | horizontalSecondOrderFactorLookupTable_ |
| std::vector< std::vector< IndexType > > | verticalSecondOrderFactorLookupTable_ |
| std::map< std::pair< IndexType, IndexType >, std::vector< IndexType > > | generalSecondOrderFactorLookupTable_ |
| std::vector< EnergyTermType > | firstOrderFactorValues |
| std::vector< EnergyTermType > | secondOrderFactorGridValues |
Static Protected Attributes | |
| static GCOLIB< GM > * | mySelfView_ = NULL |
| static GCOLIB< GM > * | mySelfTables_ = NULL |
| static const IndexType | right_ = 0 |
| static const IndexType | down_ = 1 |
GCOLIB GCOLIB inference algorithm class.
Maximum factor order :2

| typedef opengm::Minimizer opengm::external::GCOLIB< GM >::AccumulationType |
| typedef visitors::EmptyVisitor<GCOLIB<GM> > opengm::external::GCOLIB< GM >::EmptyVisitorType |
|
protected |
| typedef GM opengm::external::GCOLIB< GM >::GraphicalModelType |
| typedef visitors::TimingVisitor<GCOLIB<GM> > opengm::external::GCOLIB< GM >::TimingVisitorType |
| typedef visitors::VerboseVisitor<GCOLIB<GM> > opengm::external::GCOLIB< GM >::VerboseVisitorType |
| opengm::external::GCOLIB< GM >::GCOLIB | ( | const GraphicalModelType & | gm, |
| const Parameter & | para | ||
| ) |
| opengm::external::GCOLIB< GM >::~GCOLIB | ( | ) |
|
inline |
|
inlinevirtual |
return a bound on the solution
Reimplemented from opengm::Inference< GM, opengm::Minimizer >.
Definition at line 356 of file gco.hxx.
Here is the call graph for this function:
|
inlineprotected |
|
inlinestaticprotected |
|
inlinestaticprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlinevirtual |
Implements opengm::Inference< GM, opengm::Minimizer >.
|
inlineprotected |
|
inline |
|
inlinevirtual |
Implements opengm::Inference< GM, opengm::Minimizer >.
|
inlinevirtual |
Implements opengm::Inference< GM, opengm::Minimizer >.
|
inlineprotected |
|
inlinestaticprotected |
|
inlinestaticprotected |
|
inlinestaticprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
inlinevirtual |
return the solution (value)
Reimplemented from opengm::Inference< GM, opengm::Minimizer >.
|
inlineprotected |
|
protected |
|
staticprotected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
staticprotected |
|
staticprotected |
|
protected |
|
protected |
| opengm::external::GCOLIB< GM >::OPENGM_GM_TYPE_TYPEDEFS |
|
protected |
|
staticprotected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
1.8.9.1