OpenGM  2.3.x
Discrete Graphical Model Library
Public Types | Public Member Functions | Public Attributes | List of all members
opengm::trws_base::WorstCaseDiminishingSmoothing< GM, ACC > Class Template Reference

#include <smoothing_strategy.hxx>

+ Inheritance diagram for opengm::trws_base::WorstCaseDiminishingSmoothing< GM, ACC >:
+ Collaboration diagram for opengm::trws_base::WorstCaseDiminishingSmoothing< GM, ACC >:

Public Types

typedef ACC AccumulationType
 
typedef GM GraphicalModelType
 
typedef SmoothingParameters< ValueType > Parameter
 
typedef SmoothingStrategy< GM, ACC > parent
 
- Public Types inherited from opengm::trws_base::SmoothingStrategy< GM, ACC >
typedef ACC AccumulationType
 
typedef GM GraphicalModelType
 
typedef SmoothingParameters< ValueType > Parameter
 

Public Member Functions

 WorstCaseDiminishingSmoothing (ValueType smoothingMultiplier, const Parameter &param=Parameter(), std::ostream &fout=std::cout)
 
ValueType SmoothingEstimateValue (ValueType primalBound, ValueType smoothDualBound, ValueType smoothingDerivative) const
 
- Public Member Functions inherited from opengm::trws_base::SmoothingStrategy< GM, ACC >
 SmoothingStrategy (ValueType smoothingMultiplier, const Parameter &param=Parameter(), std::ostream &fout=std::cout)
 
virtual ~SmoothingStrategy ()
 
ValueType InitSmoothing (SmoothingBasedInference< GM, ACC > &smoothInference, ValueType primalBound, ValueType dualBound)
 
ValueType UpdateSmoothing (ValueType smoothingValue, ValueType primalBound, ValueType dualBound, ValueType smoothDualBound, ValueType smoothingDerivative, size_t iterationCounter)
 
bool SmoothingMustBeDecreased (ValueType smoothingValue, ValueType primalBound, ValueType dualBound, ValueType smoothDualBound, ValueType smoothingDerivative, size_t iterationCounter)
 
size_t getOracleCallsCounter () const
 
ValueType getStartingSmoothing (ValueType primalBound, ValueType dualBound) const
 
ValueType getWorstCaseSmoothing () const
 

Public Attributes

 OPENGM_GM_TYPE_TYPEDEFS
 
- Public Attributes inherited from opengm::trws_base::SmoothingStrategy< GM, ACC >
 OPENGM_GM_TYPE_TYPEDEFS
 

Additional Inherited Members

- Static Public Member Functions inherited from opengm::trws_base::SmoothingStrategy< GM, ACC >
template<class DualDecompositionStorage >
static ValueType ComputeSmoothingMultiplier (const DualDecompositionStorage &storage)
 
- Protected Member Functions inherited from opengm::trws_base::SmoothingStrategy< GM, ACC >
ValueType _InitAdaptiveSmoothing (SmoothingBasedInference< GM, ACC > &smoothInference, ValueType primalBound, ValueType dualBound, ValueType initialSmoothing)
 
- Protected Attributes inherited from opengm::trws_base::SmoothingStrategy< GM, ACC >
std::ostream & _fout
 
bool _initializationStage
 
ValueType _smoothingMultiplier
 
Parameter _parameters
 
size_t _oracleCallsCounter
 

Detailed Description

template<class GM, class ACC>
class opengm::trws_base::WorstCaseDiminishingSmoothing< GM, ACC >

Definition at line 451 of file smoothing_strategy.hxx.

Member Typedef Documentation

template<class GM, class ACC>
typedef ACC opengm::trws_base::WorstCaseDiminishingSmoothing< GM, ACC >::AccumulationType

Definition at line 454 of file smoothing_strategy.hxx.

template<class GM, class ACC>
typedef GM opengm::trws_base::WorstCaseDiminishingSmoothing< GM, ACC >::GraphicalModelType

Definition at line 455 of file smoothing_strategy.hxx.

template<class GM, class ACC>
typedef SmoothingParameters<ValueType> opengm::trws_base::WorstCaseDiminishingSmoothing< GM, ACC >::Parameter

Definition at line 457 of file smoothing_strategy.hxx.

template<class GM, class ACC>
typedef SmoothingStrategy<GM,ACC> opengm::trws_base::WorstCaseDiminishingSmoothing< GM, ACC >::parent

Definition at line 458 of file smoothing_strategy.hxx.

Constructor & Destructor Documentation

template<class GM, class ACC>
opengm::trws_base::WorstCaseDiminishingSmoothing< GM, ACC >::WorstCaseDiminishingSmoothing ( ValueType  smoothingMultiplier,
const Parameter param = Parameter(),
std::ostream &  fout = std::cout 
)
inline

Definition at line 460 of file smoothing_strategy.hxx.

Member Function Documentation

template<class GM, class ACC>
ValueType opengm::trws_base::WorstCaseDiminishingSmoothing< GM, ACC >::SmoothingEstimateValue ( ValueType  primalBound,
ValueType  smoothDualBound,
ValueType  smoothingDerivative 
) const
inlinevirtual

Member Data Documentation

template<class GM, class ACC>
opengm::trws_base::WorstCaseDiminishingSmoothing< GM, ACC >::OPENGM_GM_TYPE_TYPEDEFS

Definition at line 456 of file smoothing_strategy.hxx.