OpenGM  2.3.x
Discrete Graphical Model Library
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
opengm::trws_base::SmoothingParameters< VALUETYPE > Struct Template Reference

#include <smoothing_strategy.hxx>

+ Inheritance diagram for opengm::trws_base::SmoothingParameters< VALUETYPE >:
+ Collaboration diagram for opengm::trws_base::SmoothingParameters< VALUETYPE >:

Public Types

enum  SmoothingStrategyType {
  ADAPTIVE_DIMINISHING, WC_DIMINISHING, ADAPTIVE_PRECISIONORIENTED, WC_PRECISIONORIENTED,
  FIXED
}
 
typedef VALUETYPE ValueType
 

Public Member Functions

 SmoothingParameters (ValueType smoothingGapRatio=4, ValueType smoothingValue=0.0, ValueType smoothingDecayMultiplier=-1.0, ValueType precision=0, SmoothingStrategyType smoothingStrategy=ADAPTIVE_DIMINISHING)
 

Static Public Member Functions

static SmoothingStrategyType getSmoothingStrategyType (const std::string &name)
 
static std::string getString (SmoothingStrategyType strategytype)
 

Public Attributes

ValueType smoothingGapRatio_
 
ValueType smoothingValue_
 
ValueType smoothingDecayMultiplier_
 
ValueType precision_
 
SmoothingStrategyType smoothingStrategy_
 

Detailed Description

template<class VALUETYPE>
struct opengm::trws_base::SmoothingParameters< VALUETYPE >

Definition at line 18 of file smoothing_strategy.hxx.

Member Typedef Documentation

template<class VALUETYPE>
typedef VALUETYPE opengm::trws_base::SmoothingParameters< VALUETYPE >::ValueType

Definition at line 20 of file smoothing_strategy.hxx.

Member Enumeration Documentation

Enumerator
ADAPTIVE_DIMINISHING 
WC_DIMINISHING 
ADAPTIVE_PRECISIONORIENTED 
WC_PRECISIONORIENTED 
FIXED 

Definition at line 21 of file smoothing_strategy.hxx.

Constructor & Destructor Documentation

template<class VALUETYPE>
opengm::trws_base::SmoothingParameters< VALUETYPE >::SmoothingParameters ( ValueType  smoothingGapRatio = 4,
ValueType  smoothingValue = 0.0,
ValueType  smoothingDecayMultiplier = -1.0,
ValueType  precision = 0,
SmoothingStrategyType  smoothingStrategy = ADAPTIVE_DIMINISHING 
)
inline

Definition at line 46 of file smoothing_strategy.hxx.

Member Function Documentation

template<class VALUETYPE>
static SmoothingStrategyType opengm::trws_base::SmoothingParameters< VALUETYPE >::getSmoothingStrategyType ( const std::string &  name)
inlinestatic

Definition at line 24 of file smoothing_strategy.hxx.

template<class VALUETYPE>
static std::string opengm::trws_base::SmoothingParameters< VALUETYPE >::getString ( SmoothingStrategyType  strategytype)
inlinestatic

Definition at line 33 of file smoothing_strategy.hxx.

Member Data Documentation

template<class VALUETYPE>
ValueType opengm::trws_base::SmoothingParameters< VALUETYPE >::precision_

Definition at line 60 of file smoothing_strategy.hxx.

template<class VALUETYPE>
ValueType opengm::trws_base::SmoothingParameters< VALUETYPE >::smoothingDecayMultiplier_

Definition at line 59 of file smoothing_strategy.hxx.

template<class VALUETYPE>
ValueType opengm::trws_base::SmoothingParameters< VALUETYPE >::smoothingGapRatio_

Definition at line 55 of file smoothing_strategy.hxx.

template<class VALUETYPE>
SmoothingStrategyType opengm::trws_base::SmoothingParameters< VALUETYPE >::smoothingStrategy_

Definition at line 61 of file smoothing_strategy.hxx.

template<class VALUETYPE>
ValueType opengm::trws_base::SmoothingParameters< VALUETYPE >::smoothingValue_

Definition at line 58 of file smoothing_strategy.hxx.