[class adsal] ADSal - adaptive diminishing smoothing algorithm Based on the paper: B. Savchynskyy, S. Schmidt, J. H. Kappes, C. Schnörr Efficient MRF Energy Minimization via Adaptive Diminishing Smoothing, In UAI, 2012, pp. 746-755 More...
#include <trws_adsal.hxx>
Public Types | |
typedef Inference< GM, ACC > | parent |
typedef ACC | AccumulationType |
typedef GM | GraphicalModelType |
typedef trws_base::DecompositionStorage < GM > | Storage |
typedef trws_base::SumProdTRWS < GM, ACC > | SumProdSolver |
typedef trws_base::MaxSumTRWS < GM, ACC > | MaxSumSolver |
typedef PrimalLPBound< GM, ACC > | PrimalBoundEstimator |
typedef ADSal_Parameter < ValueType, GM > | Parameter |
typedef VerboseVisitor< ADSal < GM, ACC > > | VerboseVisitorType |
typedef TimingVisitor< ADSal < GM, ACC > > | TimingVisitorType |
typedef EmptyVisitor< ADSal < GM, ACC > > | EmptyVisitorType |
Public Member Functions | |
ADSal (const GraphicalModelType &gm, const Parameter ¶m) | |
std::string | name () const |
const GraphicalModelType & | graphicalModel () const |
InferenceTermination | infer () |
template<class VISITOR > | |
InferenceTermination | infer (VISITOR &visitor) |
InferenceTermination | arg (std::vector< LabelType > &out, const size_t=1) const |
output a solution | |
ValueType | bound () const |
return a bound on the solution | |
ValueType | value () const |
return the solution (value) | |
InferenceTermination | oldinfer () |
Public Attributes | |
OPENGM_GM_TYPE_TYPEDEFS |
[class adsal] ADSal - adaptive diminishing smoothing algorithm Based on the paper: B. Savchynskyy, S. Schmidt, J. H. Kappes, C. Schnörr Efficient MRF Energy Minimization via Adaptive Diminishing Smoothing, In UAI, 2012, pp. 746-755
it provides: * primal integer approximate solution for MRF energy minimization problem * approximate primal and dual solutions of the local polytope relaxation of the problem. Duality gap comverges to zero in the limit andcan be used as an accuracy measure of the algorithm.
TODO: Code can be significantly speeded up!
Corresponding author: Bogdan Savchynskyy
Definition at line 148 of file trws_adsal.hxx.
typedef ACC opengm::ADSal< GM, ACC >::AccumulationType |
Reimplemented from opengm::Inference< GM, ACC >.
Definition at line 152 of file trws_adsal.hxx.
typedef EmptyVisitor<ADSal<GM, ACC> > opengm::ADSal< GM, ACC >::EmptyVisitorType |
Definition at line 165 of file trws_adsal.hxx.
typedef GM opengm::ADSal< GM, ACC >::GraphicalModelType |
Reimplemented from opengm::Inference< GM, ACC >.
Definition at line 153 of file trws_adsal.hxx.
typedef trws_base::MaxSumTRWS<GM,ACC> opengm::ADSal< GM, ACC >::MaxSumSolver |
Definition at line 158 of file trws_adsal.hxx.
typedef ADSal_Parameter<ValueType,GM> opengm::ADSal< GM, ACC >::Parameter |
Definition at line 161 of file trws_adsal.hxx.
typedef Inference<GM, ACC> opengm::ADSal< GM, ACC >::parent |
Definition at line 151 of file trws_adsal.hxx.
typedef PrimalLPBound<GM,ACC> opengm::ADSal< GM, ACC >::PrimalBoundEstimator |
Definition at line 159 of file trws_adsal.hxx.
typedef trws_base::DecompositionStorage<GM> opengm::ADSal< GM, ACC >::Storage |
Definition at line 156 of file trws_adsal.hxx.
typedef trws_base::SumProdTRWS<GM,ACC> opengm::ADSal< GM, ACC >::SumProdSolver |
Definition at line 157 of file trws_adsal.hxx.
typedef TimingVisitor<ADSal<GM, ACC> > opengm::ADSal< GM, ACC >::TimingVisitorType |
Definition at line 164 of file trws_adsal.hxx.
typedef VerboseVisitor<ADSal<GM, ACC> > opengm::ADSal< GM, ACC >::VerboseVisitorType |
Definition at line 163 of file trws_adsal.hxx.
opengm::ADSal< GM, ACC >::ADSal | ( | const GraphicalModelType & | gm, | |
const Parameter & | param | |||
) | [inline] |
Definition at line 167 of file trws_adsal.hxx.
InferenceTermination opengm::ADSal< GM, ACC >::arg | ( | std::vector< LabelType > & | arg, | |
const | argIndex = 1 | |||
) | const [inline, virtual] |
output a solution
[out] | arg | labeling |
argIndex | solution index (0=best, 1=second best, etc.) |
Reimplemented from opengm::Inference< GM, ACC >.
Definition at line 202 of file trws_adsal.hxx.
ValueType opengm::ADSal< GM, ACC >::bound | ( | ) | const [inline, virtual] |
return a bound on the solution
Reimplemented from opengm::Inference< GM, ACC >.
Definition at line 206 of file trws_adsal.hxx.
const GraphicalModelType& opengm::ADSal< GM, ACC >::graphicalModel | ( | ) | const [inline, virtual] |
Implements opengm::Inference< GM, ACC >.
Definition at line 199 of file trws_adsal.hxx.
InferenceTermination opengm::ADSal< GM, ACC >::infer | ( | VISITOR & | visitor | ) | [inline] |
InferenceTermination opengm::ADSal< GM, ACC >::infer | ( | ) | [inline, virtual] |
Implements opengm::Inference< GM, ACC >.
Definition at line 200 of file trws_adsal.hxx.
std::string opengm::ADSal< GM, ACC >::name | ( | ) | const [inline, virtual] |
Implements opengm::Inference< GM, ACC >.
Definition at line 198 of file trws_adsal.hxx.
InferenceTermination opengm::ADSal< GM, ACC >::oldinfer | ( | ) | [inline] |
ValueType opengm::ADSal< GM, ACC >::value | ( | ) | const [inline, virtual] |
return the solution (value)
Reimplemented from opengm::Inference< GM, ACC >.
Definition at line 207 of file trws_adsal.hxx.
opengm::ADSal< GM, ACC >::OPENGM_GM_TYPE_TYPEDEFS |
Definition at line 154 of file trws_adsal.hxx.