|
OpenGM
2.3.x
Discrete Graphical Model Library
|
Experimental Multicut. More...
#include <cgc.hxx>
Inheritance diagram for opengm::CGC< GM, ACC >:
Collaboration diagram for opengm::CGC< GM, ACC >:Classes | |
| class | Parameter |
Public Types | |
| typedef ACC | AccumulationType |
| typedef GM | GraphicalModelType |
| typedef visitors::VerboseVisitor< CGC< GM, ACC > > | VerboseVisitorType |
| typedef visitors::EmptyVisitor< CGC< GM, ACC > > | EmptyVisitorType |
| typedef visitors::TimingVisitor< CGC< GM, ACC > > | TimingVisitorType |
| typedef std::pair< int, ValueType > | IVPairType |
| typedef PottsFunction< ValueType, IndexType, LabelType > | PfType |
| typedef GraphicalModel< ValueType, Adder, PfType, typename GM::SpaceType > | PottsGmType |
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 | |
| CGC (const GraphicalModelType &, const Parameter ¶m=Parameter()) | |
| std::string | name () const |
| const GraphicalModelType & | graphicalModel () const |
| void | reset () |
| ValueType | bound () const |
| return a bound on the solution More... | |
| ValueType | value () const |
| return the solution (value) More... | |
| ValueType | calcBound () |
| InferenceTermination | infer () |
| template<class VisitorType > | |
| InferenceTermination | infer (VisitorType &) |
| virtual InferenceTermination | arg (std::vector< LabelType > &, const size_t=1) const |
| output a solution More... | |
| void | setStartingPoint (typename std::vector< LabelType >::const_iterator) |
| set initial labeling More... | |
| ValueType | evalPrimal () const |
| ValueType | evalPrimal2 (const std::vector< LabelType > &) const |
| ~CGC () | |
Public Member Functions inherited from opengm::Inference< GM, ACC > | |
| 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... | |
| 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 | |
Experimental Multicut.
| typedef ACC opengm::CGC< GM, ACC >::AccumulationType |
| typedef visitors::EmptyVisitor<CGC<GM,ACC> > opengm::CGC< GM, ACC >::EmptyVisitorType |
| typedef GM opengm::CGC< GM, ACC >::GraphicalModelType |
| typedef std::pair<int,ValueType> opengm::CGC< GM, ACC >::IVPairType |
| typedef PottsFunction<ValueType,IndexType,LabelType> opengm::CGC< GM, ACC >::PfType |
| typedef GraphicalModel<ValueType, Adder, PfType , typename GM::SpaceType> opengm::CGC< GM, ACC >::PottsGmType |
| typedef visitors::TimingVisitor<CGC<GM,ACC> > opengm::CGC< GM, ACC >::TimingVisitorType |
| typedef visitors::VerboseVisitor<CGC<GM,ACC> > opengm::CGC< GM, ACC >::VerboseVisitorType |
|
inline |
|
inline |
|
inlinevirtual |
output a solution
| [out] | arg | labeling |
| argIndex | solution index (1=best, 2=second best, etc.) |
Reimplemented from opengm::Inference< GM, ACC >.
|
inlinevirtual |
return a bound on the solution
Reimplemented from opengm::Inference< GM, ACC >.
|
inline |
|
inline |
|
inline |
|
inlinevirtual |
Implements opengm::Inference< GM, ACC >.
|
inlinevirtual |
Implements opengm::Inference< GM, ACC >.
| InferenceTermination opengm::CGC< GM, ACC >::infer | ( | VisitorType & | visitor | ) |
|
inlinevirtual |
Implements opengm::Inference< GM, ACC >.
|
inline |
|
inlinevirtual |
set initial labeling
| begin | iterator to the beginning of a sequence of labels |
Reimplemented from opengm::Inference< GM, ACC >.
|
inlinevirtual |
return the solution (value)
Reimplemented from opengm::Inference< GM, ACC >.
| opengm::CGC< GM, ACC >::OPENGM_GM_TYPE_TYPEDEFS |
1.8.9.1