opengm::DualDecompositionBaseParameter Class Reference

#include <dualdecomposition_base.hxx>

Inheritance diagram for opengm::DualDecompositionBaseParameter:
Inheritance graph
[legend]
Collaboration diagram for opengm::DualDecompositionBaseParameter:
Collaboration graph
[legend]

List of all members.

Public Types

enum  DecompositionId { MANUAL, TREE, SPANNINGTREES, BLOCKS }
enum  DualUpdateId { ADAPTIVE, STEPSIZE, STEPLENGTH, KIEWIL }

Public Member Functions

 DualDecompositionBaseParameter ()
double getStepsize (size_t iteration, double primalDualGap, double subgradientNorm)

Public Attributes

DecompositionId decompositionId_
 type of decomposition that should be used (independent of model structure)
GraphicalModelDecomposition decomposition_
 decomposition of the model (needs to fit to the model structure)
size_t maximalDualOrder_
 maximum order of dual variables (order of the corresponding factor)
size_t numberOfBlocks_
 number of blocks for block decomposition
size_t maximalNumberOfIterations_
 maximum number of dual iterations
double minimalAbsAccuracy_
 the absolut accuracy that has to be guaranteed to stop with an approximate solution (set 0 for optimality)
double minimalRelAccuracy_
 the relative accuracy that has to be guaranteed to stop with an approximate solution (set 0 for optimality)
size_t numberOfThreads_
 number of threads for primal problems
double stepsizeStride_
double stepsizeScale_
double stepsizeExponent_
double stepsizeMin_
double stepsizeMax_
bool stepsizePrimalDualGapStride_
bool stepsizeNormalizedSubgradient_

Detailed Description

Definition at line 22 of file dualdecomposition_base.hxx.


Member Enumeration Documentation

Enumerator:
MANUAL 
TREE 
SPANNINGTREES 
BLOCKS 

Definition at line 24 of file dualdecomposition_base.hxx.

Enumerator:
ADAPTIVE 
STEPSIZE 
STEPLENGTH 
KIEWIL 

Definition at line 25 of file dualdecomposition_base.hxx.


Constructor & Destructor Documentation

opengm::DualDecompositionBaseParameter::DualDecompositionBaseParameter (  )  [inline]

Definition at line 54 of file dualdecomposition_base.hxx.


Member Function Documentation

double opengm::DualDecompositionBaseParameter::getStepsize ( size_t  iteration,
double  primalDualGap,
double  subgradientNorm 
) [inline]

Definition at line 72 of file dualdecomposition_base.hxx.

Here is the caller graph for this function:


Member Data Documentation

decomposition of the model (needs to fit to the model structure)

Definition at line 30 of file dualdecomposition_base.hxx.

type of decomposition that should be used (independent of model structure)

Definition at line 28 of file dualdecomposition_base.hxx.

maximum order of dual variables (order of the corresponding factor)

Definition at line 32 of file dualdecomposition_base.hxx.

maximum number of dual iterations

Definition at line 36 of file dualdecomposition_base.hxx.

the absolut accuracy that has to be guaranteed to stop with an approximate solution (set 0 for optimality)

Definition at line 38 of file dualdecomposition_base.hxx.

the relative accuracy that has to be guaranteed to stop with an approximate solution (set 0 for optimality)

Definition at line 40 of file dualdecomposition_base.hxx.

number of blocks for block decomposition

Definition at line 34 of file dualdecomposition_base.hxx.

number of threads for primal problems

Definition at line 42 of file dualdecomposition_base.hxx.

Definition at line 47 of file dualdecomposition_base.hxx.

Definition at line 49 of file dualdecomposition_base.hxx.

Definition at line 48 of file dualdecomposition_base.hxx.

Definition at line 51 of file dualdecomposition_base.hxx.

Definition at line 50 of file dualdecomposition_base.hxx.

Definition at line 46 of file dualdecomposition_base.hxx.

Definition at line 45 of file dualdecomposition_base.hxx.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Generated on Mon Jun 17 16:31:11 2013 for OpenGM by  doxygen 1.6.3