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

#include <smoothing_strategy.hxx>

+ Inheritance diagram for opengm::trws_base::SmoothingBasedInference_Parameter< GM >:
+ Collaboration diagram for opengm::trws_base::SmoothingBasedInference_Parameter< GM >:

Public Types

typedef GM::ValueType ValueType
 
typedef trws_base::DecompositionStorage< GM > Storage
 
typedef trws_base::SmoothingBasedInference_Parameter_Base< GM > parent
 
typedef parent::SmoothingParametersType SmoothingParametersType
 
typedef parent::SumProdSolverParametersType SumProdSolverParametersType
 
typedef parent::MaxSumSolverParametersType MaxSumSolverParametersType
 
typedef parent::PrimalLPEstimatorParametersType PrimalLPEstimatorParametersType
 
typedef SmoothingParametersType::SmoothingStrategyType SmoothingStrategyType
 
- Public Types inherited from opengm::trws_base::SmoothingBasedInference_Parameter_Base< GM >
typedef GM::ValueType ValueType
 
typedef DecompositionStorage< GM > Storage
 
typedef SmoothingParameters< ValueType > SmoothingParametersType
 
typedef SumProdTRWS_Parameters< ValueType > SumProdSolverParametersType
 
typedef MaxSumTRWS_Parameters< ValueType > MaxSumSolverParametersType
 
typedef PrimalLPBound_Parameter< ValueType > PrimalLPEstimatorParametersType
 

Public Member Functions

 SmoothingBasedInference_Parameter (size_t numOfExternalIterations=0, ValueType precision=1.0, bool absolutePrecision=true, size_t numOfInternalIterations=3, typename Storage::StructureType decompositionType=Storage::GENERALSTRUCTURE, ValueType smoothingGapRatio=4, ValueType startSmoothingValue=0.0, ValueType primalBoundPrecision=std::numeric_limits< ValueType >::epsilon(), size_t maxPrimalBoundIterationNumber=100, size_t presolveMaxIterNumber=100, bool canonicalNormalization=true, ValueType presolveMinRelativeDualImprovement=0.01, bool lazyLPPrimalBoundComputation=true, ValueType smoothingDecayMultiplier=-1.0, SmoothingStrategyType smoothingStrategy=SmoothingParametersType::ADAPTIVE_DIMINISHING, bool fastComputations=true, bool verbose=false)
 
size_t & maxNumberOfIterations ()
 
const size_t & maxNumberOfIterations () const
 
size_t & numberOfInternalIterations ()
 
const size_t & numberOfInternalIterations () const
 
const ValueType & precision () const
 
void setPrecision (ValueType precision)
 
bool & isAbsolutePrecision ()
 
const bool & isAbsolutePrecision () const
 
ValueType & smoothingGapRatio ()
 
const ValueType & smoothingGapRatio () const
 
bool & lazyLPPrimalBoundComputation ()
 
const bool & lazyLPPrimalBoundComputation () const
 
ValueType & smoothingDecayMultiplier ()
 
const ValueType & smoothingDecayMultiplier () const
 
SmoothingStrategyType & smoothingStrategy ()
 
const SmoothingStrategyType & smoothingStrategy () const
 
Storage::StructureType & decompositionType ()
 
const Storage::StructureType & decompositionType () const
 
const ValueType & startSmoothingValue () const
 
void setStartSmoothingValue (ValueType val)
 
const bool & fastComputations () const
 
void setFastComputations (bool fast)
 
const bool & canonicalNormalization () const
 
void setCanonicalNormalization (bool canonical)
 
size_t & maxNumberOfPresolveIterations ()
 
const size_t & maxNumberOfPresolveIterations () const
 
ValueType & presolveMinRelativeDualImprovement ()
 
const ValueType & presolveMinRelativeDualImprovement () const
 
size_t & maxPrimalBoundIterationNumber ()
 
const size_t & maxPrimalBoundIterationNumber () const
 
ValueType & primalBoundRelativePrecision ()
 
const ValueType & primalBoundRelativePrecision () const
 
bool & verbose ()
 
const bool & verbose () const
 
- Public Member Functions inherited from opengm::trws_base::SmoothingBasedInference_Parameter_Base< GM >
 SmoothingBasedInference_Parameter_Base (typename Storage::StructureType decompositionType, bool lazyLPPrimalBoundComputation, const SmoothingParametersType &smoothingParameters, const SumProdSolverParametersType &sumProdSolverParameters, const MaxSumSolverParametersType &maxSumSolverParameters, const PrimalLPEstimatorParametersType &primalLPEstimatorParameters)
 
virtual ~SmoothingBasedInference_Parameter_Base ()
 
const SmoothingParametersType & getSmoothingParameters () const
 
const SumProdSolverParametersType & getSumProdSolverParameters () const
 
const MaxSumSolverParametersType & getMaxSumSolverParameters () const
 
const PrimalLPEstimatorParametersType & getPrimalLPEstimatorParameters () const
 

Public Attributes

size_t numOfExternalIterations_
 
bool verbose_
 
- Public Attributes inherited from opengm::trws_base::SmoothingBasedInference_Parameter_Base< GM >
Storage::StructureType decompositionType_
 
bool lazyLPPrimalBoundComputation_
 

Additional Inherited Members

- Protected Attributes inherited from opengm::trws_base::SmoothingBasedInference_Parameter_Base< GM >
SmoothingParametersType smoothingParameters_
 
SumProdSolverParametersType sumProdSolverParameters_
 
MaxSumSolverParametersType maxSumSolverParameters_
 
PrimalLPEstimatorParametersType primalLPEstimatorParameters_
 

Detailed Description

template<class GM>
struct opengm::trws_base::SmoothingBasedInference_Parameter< GM >

Definition at line 111 of file smoothing_strategy.hxx.

Member Typedef Documentation

Definition at line 118 of file smoothing_strategy.hxx.

Definition at line 115 of file smoothing_strategy.hxx.

Definition at line 119 of file smoothing_strategy.hxx.

Definition at line 116 of file smoothing_strategy.hxx.

Definition at line 120 of file smoothing_strategy.hxx.

Definition at line 114 of file smoothing_strategy.hxx.

Definition at line 117 of file smoothing_strategy.hxx.

template<class GM >
typedef GM::ValueType opengm::trws_base::SmoothingBasedInference_Parameter< GM >::ValueType

Definition at line 113 of file smoothing_strategy.hxx.

Constructor & Destructor Documentation

template<class GM >
opengm::trws_base::SmoothingBasedInference_Parameter< GM >::SmoothingBasedInference_Parameter ( size_t  numOfExternalIterations = 0,
ValueType  precision = 1.0,
bool  absolutePrecision = true,
size_t  numOfInternalIterations = 3,
typename Storage::StructureType  decompositionType = Storage::GENERALSTRUCTURE,
ValueType  smoothingGapRatio = 4,
ValueType  startSmoothingValue = 0.0,
ValueType  primalBoundPrecision = std::numeric_limits<ValueType>::epsilon(),
size_t  maxPrimalBoundIterationNumber = 100,
size_t  presolveMaxIterNumber = 100,
bool  canonicalNormalization = true,
ValueType  presolveMinRelativeDualImprovement = 0.01,
bool  lazyLPPrimalBoundComputation = true,
ValueType  smoothingDecayMultiplier = -1.0,
SmoothingStrategyType  smoothingStrategy = SmoothingParametersType::ADAPTIVE_DIMINISHING,
bool  fastComputations = true,
bool  verbose = false 
)
inline

Definition at line 122 of file smoothing_strategy.hxx.

Member Function Documentation

template<class GM >
const bool& opengm::trws_base::SmoothingBasedInference_Parameter< GM >::canonicalNormalization ( ) const
inline

Definition at line 198 of file smoothing_strategy.hxx.

template<class GM >
Storage::StructureType& opengm::trws_base::SmoothingBasedInference_Parameter< GM >::decompositionType ( )
inline

Definition at line 189 of file smoothing_strategy.hxx.

template<class GM >
const Storage::StructureType& opengm::trws_base::SmoothingBasedInference_Parameter< GM >::decompositionType ( ) const
inline

Definition at line 190 of file smoothing_strategy.hxx.

template<class GM >
const bool& opengm::trws_base::SmoothingBasedInference_Parameter< GM >::fastComputations ( ) const
inline

Definition at line 195 of file smoothing_strategy.hxx.

template<class GM >
bool& opengm::trws_base::SmoothingBasedInference_Parameter< GM >::isAbsolutePrecision ( )
inline

Definition at line 169 of file smoothing_strategy.hxx.

template<class GM >
const bool& opengm::trws_base::SmoothingBasedInference_Parameter< GM >::isAbsolutePrecision ( ) const
inline

Definition at line 170 of file smoothing_strategy.hxx.

template<class GM >
bool& opengm::trws_base::SmoothingBasedInference_Parameter< GM >::lazyLPPrimalBoundComputation ( )
inline

Definition at line 175 of file smoothing_strategy.hxx.

template<class GM >
const bool& opengm::trws_base::SmoothingBasedInference_Parameter< GM >::lazyLPPrimalBoundComputation ( ) const
inline

Definition at line 176 of file smoothing_strategy.hxx.

template<class GM >
size_t& opengm::trws_base::SmoothingBasedInference_Parameter< GM >::maxNumberOfIterations ( )
inline

Definition at line 159 of file smoothing_strategy.hxx.

template<class GM >
const size_t& opengm::trws_base::SmoothingBasedInference_Parameter< GM >::maxNumberOfIterations ( ) const
inline

Definition at line 160 of file smoothing_strategy.hxx.

template<class GM >
size_t& opengm::trws_base::SmoothingBasedInference_Parameter< GM >::maxNumberOfPresolveIterations ( )
inline

Definition at line 204 of file smoothing_strategy.hxx.

template<class GM >
const size_t& opengm::trws_base::SmoothingBasedInference_Parameter< GM >::maxNumberOfPresolveIterations ( ) const
inline

Definition at line 205 of file smoothing_strategy.hxx.

template<class GM >
size_t& opengm::trws_base::SmoothingBasedInference_Parameter< GM >::maxPrimalBoundIterationNumber ( )
inline

Definition at line 213 of file smoothing_strategy.hxx.

template<class GM >
const size_t& opengm::trws_base::SmoothingBasedInference_Parameter< GM >::maxPrimalBoundIterationNumber ( ) const
inline

Definition at line 214 of file smoothing_strategy.hxx.

template<class GM >
size_t& opengm::trws_base::SmoothingBasedInference_Parameter< GM >::numberOfInternalIterations ( )
inline

Definition at line 162 of file smoothing_strategy.hxx.

template<class GM >
const size_t& opengm::trws_base::SmoothingBasedInference_Parameter< GM >::numberOfInternalIterations ( ) const
inline

Definition at line 163 of file smoothing_strategy.hxx.

template<class GM >
const ValueType& opengm::trws_base::SmoothingBasedInference_Parameter< GM >::precision ( ) const
inline

Definition at line 166 of file smoothing_strategy.hxx.

+ Here is the caller graph for this function:

template<class GM >
ValueType& opengm::trws_base::SmoothingBasedInference_Parameter< GM >::presolveMinRelativeDualImprovement ( )
inline

Definition at line 207 of file smoothing_strategy.hxx.

template<class GM >
const ValueType& opengm::trws_base::SmoothingBasedInference_Parameter< GM >::presolveMinRelativeDualImprovement ( ) const
inline

Definition at line 208 of file smoothing_strategy.hxx.

template<class GM >
ValueType& opengm::trws_base::SmoothingBasedInference_Parameter< GM >::primalBoundRelativePrecision ( )
inline

Definition at line 216 of file smoothing_strategy.hxx.

template<class GM >
const ValueType& opengm::trws_base::SmoothingBasedInference_Parameter< GM >::primalBoundRelativePrecision ( ) const
inline

Definition at line 217 of file smoothing_strategy.hxx.

template<class GM >
void opengm::trws_base::SmoothingBasedInference_Parameter< GM >::setCanonicalNormalization ( bool  canonical)
inline

Definition at line 199 of file smoothing_strategy.hxx.

template<class GM >
void opengm::trws_base::SmoothingBasedInference_Parameter< GM >::setFastComputations ( bool  fast)
inline

Definition at line 196 of file smoothing_strategy.hxx.

template<class GM >
void opengm::trws_base::SmoothingBasedInference_Parameter< GM >::setPrecision ( ValueType  precision)
inline

Definition at line 167 of file smoothing_strategy.hxx.

+ Here is the call graph for this function:

template<class GM >
void opengm::trws_base::SmoothingBasedInference_Parameter< GM >::setStartSmoothingValue ( ValueType  val)
inline

Definition at line 193 of file smoothing_strategy.hxx.

template<class GM >
ValueType& opengm::trws_base::SmoothingBasedInference_Parameter< GM >::smoothingDecayMultiplier ( )
inline

Definition at line 181 of file smoothing_strategy.hxx.

template<class GM >
const ValueType& opengm::trws_base::SmoothingBasedInference_Parameter< GM >::smoothingDecayMultiplier ( ) const
inline

Definition at line 182 of file smoothing_strategy.hxx.

template<class GM >
ValueType& opengm::trws_base::SmoothingBasedInference_Parameter< GM >::smoothingGapRatio ( )
inline

Definition at line 172 of file smoothing_strategy.hxx.

template<class GM >
const ValueType& opengm::trws_base::SmoothingBasedInference_Parameter< GM >::smoothingGapRatio ( ) const
inline

Definition at line 173 of file smoothing_strategy.hxx.

template<class GM >
SmoothingStrategyType& opengm::trws_base::SmoothingBasedInference_Parameter< GM >::smoothingStrategy ( )
inline

Definition at line 186 of file smoothing_strategy.hxx.

template<class GM >
const SmoothingStrategyType& opengm::trws_base::SmoothingBasedInference_Parameter< GM >::smoothingStrategy ( ) const
inline

Definition at line 187 of file smoothing_strategy.hxx.

template<class GM >
const ValueType& opengm::trws_base::SmoothingBasedInference_Parameter< GM >::startSmoothingValue ( ) const
inline

Definition at line 192 of file smoothing_strategy.hxx.

template<class GM >
bool& opengm::trws_base::SmoothingBasedInference_Parameter< GM >::verbose ( )
inline

Definition at line 219 of file smoothing_strategy.hxx.

template<class GM >
const bool& opengm::trws_base::SmoothingBasedInference_Parameter< GM >::verbose ( ) const
inline

Definition at line 220 of file smoothing_strategy.hxx.

Member Data Documentation

template<class GM >
size_t opengm::trws_base::SmoothingBasedInference_Parameter< GM >::numOfExternalIterations_

Definition at line 151 of file smoothing_strategy.hxx.

template<class GM >
bool opengm::trws_base::SmoothingBasedInference_Parameter< GM >::verbose_

Definition at line 154 of file smoothing_strategy.hxx.