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< ValueType > SmoothingParametersType
 
typedef SumProdTRWS_Parameters< ValueType > SumProdSolverParametersType
 
typedef MaxSumTRWS_Parameters< ValueType > MaxSumSolverParametersType
 
typedef PrimalLPBound_Parameter< ValueType > PrimalLPEstimatorParametersType
 

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)
 
bool & lazyDerivativeComputation ()
 
const bool & lazyDerivativeComputation () 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_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

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.