OpenGM  2.3.x
Discrete Graphical Model Library
Public Member Functions | Public Attributes | List of all members
opengm::DualDecompositionSubGradient< GM, INF, DUALBLOCK >::Parameter Class Reference

#include <dualdecomposition_subgradient.hxx>

+ Inheritance diagram for opengm::DualDecompositionSubGradient< GM, INF, DUALBLOCK >::Parameter:
+ Collaboration diagram for opengm::DualDecompositionSubGradient< GM, INF, DUALBLOCK >::Parameter:

Public Member Functions

 Parameter ()
 
- Public Member Functions inherited from opengm::DualDecompositionBaseParameter
 DualDecompositionBaseParameter ()
 
double getStepsize (size_t iteration, double primalDualGap, double subgradientNorm)
 

Public Attributes

InfType::Parameter subPara_
 Parameter for Subproblems. More...
 
bool useAdaptiveStepsize_
 
bool useProjectedAdaptiveStepsize_
 
- Public Attributes inherited from opengm::DualDecompositionBaseParameter
DecompositionId decompositionId_
 type of decomposition that should be used (independent of model structure) More...
 
GraphicalModelDecomposition decomposition_
 decomposition of the model (needs to fit to the model structure) More...
 
std::vector< std::vector< size_t > > subFactors_
 vectors of factors of the subproblems - used form manual decomposition only. More...
 
std::vector< std::set< size_t > > subVariables_
 vectors of variables of the subproblems - used form manual variable decomposition only. More...
 
size_t maximalDualOrder_
 maximum order of dual variables (order of the corresponding factor) More...
 
size_t numberOfBlocks_
 number of blocks for block decomposition More...
 
size_t maximalNumberOfIterations_
 maximum number of dual iterations More...
 
double minimalAbsAccuracy_
 the absolut accuracy that has to be guaranteed to stop with an approximate solution (set 0 for optimality) More...
 
double minimalRelAccuracy_
 the relative accuracy that has to be guaranteed to stop with an approximate solution (set 0 for optimality) More...
 
size_t numberOfThreads_
 number of threads for primal problems More...
 
bool fillSubLabelings_
 use filling to generate full labelings from non-spanning subproblems. If one labeling is generated for all non-spanning subproblems More...
 
size_t k_
 size of inner clique of kfan More...
 
double stepsizeStride_
 
double stepsizeScale_
 
double stepsizeExponent_
 
double stepsizeMin_
 
double stepsizeMax_
 
bool stepsizePrimalDualGapStride_
 
bool stepsizeNormalizedSubgradient_
 

Additional Inherited Members

- Public Types inherited from opengm::DualDecompositionBaseParameter
enum  DecompositionId {
  MANUAL, TREE, SPANNINGTREES, BLOCKS,
  KFANS, MANUALVARCLOSE, MANUALVAROPEN
}
 
enum  DualUpdateId { ADAPTIVE, STEPSIZE, STEPLENGTH, KIEWIL }
 

Detailed Description

template<class GM, class INF, class DUALBLOCK>
class opengm::DualDecompositionSubGradient< GM, INF, DUALBLOCK >::Parameter

Definition at line 46 of file dualdecomposition_subgradient.hxx.

Constructor & Destructor Documentation

template<class GM , class INF , class DUALBLOCK >
opengm::DualDecompositionSubGradient< GM, INF, DUALBLOCK >::Parameter::Parameter ( )
inline

Definition at line 52 of file dualdecomposition_subgradient.hxx.

Member Data Documentation

template<class GM , class INF , class DUALBLOCK >
InfType::Parameter opengm::DualDecompositionSubGradient< GM, INF, DUALBLOCK >::Parameter::subPara_

Parameter for Subproblems.

Definition at line 49 of file dualdecomposition_subgradient.hxx.

template<class GM , class INF , class DUALBLOCK >
bool opengm::DualDecompositionSubGradient< GM, INF, DUALBLOCK >::Parameter::useAdaptiveStepsize_

Definition at line 50 of file dualdecomposition_subgradient.hxx.

template<class GM , class INF , class DUALBLOCK >
bool opengm::DualDecompositionSubGradient< GM, INF, DUALBLOCK >::Parameter::useProjectedAdaptiveStepsize_

Definition at line 51 of file dualdecomposition_subgradient.hxx.