#include <dualdecomposition_base.hxx>
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_ |
Definition at line 22 of file dualdecomposition_base.hxx.
Definition at line 24 of file dualdecomposition_base.hxx.
Definition at line 25 of file dualdecomposition_base.hxx.
opengm::DualDecompositionBaseParameter::DualDecompositionBaseParameter | ( | ) | [inline] |
Definition at line 54 of file dualdecomposition_base.hxx.
double opengm::DualDecompositionBaseParameter::getStepsize | ( | size_t | iteration, | |
double | primalDualGap, | |||
double | subgradientNorm | |||
) | [inline] |
Definition at line 72 of file dualdecomposition_base.hxx.
GraphicalModelDecomposition opengm::DualDecompositionBaseParameter::decomposition_ |
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.