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

#include <trws_adsal.hxx>

+ Inheritance diagram for opengm::ADSal_Parameter< GM >:
+ Collaboration diagram for opengm::ADSal_Parameter< GM >:

Public Types

typedef GM::ValueType ValueType
 
typedef trws_base::DecompositionStorage< GM > Storage
 
typedef trws_base::SmoothingBasedInference_Parameter< GM > parent
 
typedef parent::SmoothingParametersType SmoothingParametersType
 
typedef parent::SumProdSolverParametersType SumProdSolverParametersType
 
typedef parent::MaxSumSolverParametersType MaxSumSolverParametersType
 
typedef parent::PrimalLPEstimatorParametersType PrimalLPEstimatorParametersType
 
typedef parent::SmoothingStrategyType SmoothingStrategyType
 
- Public Types inherited from opengm::trws_base::SmoothingBasedInference_Parameter< GM >
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< ValueTypeSmoothingParametersType
 
typedef SumProdTRWS_Parameters< ValueTypeSumProdSolverParametersType
 
typedef MaxSumTRWS_Parameters< ValueTypeMaxSumSolverParametersType
 
typedef PrimalLPBound_Parameter< ValueTypePrimalLPEstimatorParametersType
 

Public Member Functions

 ADSal_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, bool lazyDerivativeComputation=false, ValueType smoothingDecayMultiplier=-1.0, SmoothingStrategyType smoothingStrategy=SmoothingParametersType::ADAPTIVE_DIMINISHING, bool fastComputations=true, bool verbose=false)
 
boollazyDerivativeComputation ()
 
const boollazyDerivativeComputation () const
 
- Public Member Functions inherited from 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)
 
size_tmaxNumberOfIterations ()
 
const size_tmaxNumberOfIterations () const
 
size_tnumberOfInternalIterations ()
 
const size_tnumberOfInternalIterations () const
 
const ValueTypeprecision () const
 
void setPrecision (ValueType precision)
 
boolisAbsolutePrecision ()
 
const boolisAbsolutePrecision () const
 
ValueTypesmoothingGapRatio ()
 
const ValueTypesmoothingGapRatio () const
 
boollazyLPPrimalBoundComputation ()
 
const boollazyLPPrimalBoundComputation () const
 
ValueTypesmoothingDecayMultiplier ()
 
const ValueTypesmoothingDecayMultiplier () const
 
SmoothingStrategyTypesmoothingStrategy ()
 
const SmoothingStrategyTypesmoothingStrategy () const
 
Storage::StructureTypedecompositionType ()
 
const Storage::StructureTypedecompositionType () const
 
const ValueTypestartSmoothingValue () const
 
void setStartSmoothingValue (ValueType val)
 
const boolfastComputations () const
 
void setFastComputations (bool fast)
 
const boolcanonicalNormalization () const
 
void setCanonicalNormalization (bool canonical)
 
size_tmaxNumberOfPresolveIterations ()
 
const size_tmaxNumberOfPresolveIterations () const
 
ValueTypepresolveMinRelativeDualImprovement ()
 
const ValueTypepresolveMinRelativeDualImprovement () const
 
size_tmaxPrimalBoundIterationNumber ()
 
const size_tmaxPrimalBoundIterationNumber () const
 
ValueTypeprimalBoundRelativePrecision ()
 
const ValueTypeprimalBoundRelativePrecision () const
 
boolverbose ()
 
const boolverbose () 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 SmoothingParametersTypegetSmoothingParameters () const
 
const SumProdSolverParametersTypegetSumProdSolverParameters () const
 
const MaxSumSolverParametersTypegetMaxSumSolverParameters () const
 
const PrimalLPEstimatorParametersTypegetPrimalLPEstimatorParameters () const
 

Public Attributes

bool lazyDerivativeComputation_
 
- Public Attributes inherited from opengm::trws_base::SmoothingBasedInference_Parameter< GM >
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::ADSal_Parameter< GM >

Definition at line 11 of file trws_adsal.hxx.

Member Typedef Documentation

Definition at line 18 of file trws_adsal.hxx.

Definition at line 15 of file trws_adsal.hxx.

Definition at line 19 of file trws_adsal.hxx.

Definition at line 16 of file trws_adsal.hxx.

template<class GM >
typedef parent::SmoothingStrategyType opengm::ADSal_Parameter< GM >::SmoothingStrategyType

Definition at line 20 of file trws_adsal.hxx.

template<class GM >
typedef trws_base::DecompositionStorage<GM> opengm::ADSal_Parameter< GM >::Storage

Definition at line 14 of file trws_adsal.hxx.

Definition at line 17 of file trws_adsal.hxx.

template<class GM >
typedef GM::ValueType opengm::ADSal_Parameter< GM >::ValueType

Definition at line 13 of file trws_adsal.hxx.

Constructor & Destructor Documentation

template<class GM >
opengm::ADSal_Parameter< GM >::ADSal_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,
bool  lazyDerivativeComputation = false,
ValueType  smoothingDecayMultiplier = -1.0,
SmoothingStrategyType  smoothingStrategy = SmoothingParametersType::ADAPTIVE_DIMINISHING,
bool  fastComputations = true,
bool  verbose = false 
)
inline

Definition at line 22 of file trws_adsal.hxx.

Member Function Documentation

template<class GM >
bool& opengm::ADSal_Parameter< GM >::lazyDerivativeComputation ( )
inline

Definition at line 66 of file trws_adsal.hxx.

template<class GM >
const bool& opengm::ADSal_Parameter< GM >::lazyDerivativeComputation ( ) const
inline

Definition at line 67 of file trws_adsal.hxx.

Member Data Documentation

template<class GM >
bool opengm::ADSal_Parameter< GM >::lazyDerivativeComputation_

Definition at line 62 of file trws_adsal.hxx.