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

#include <trws_trws.hxx>

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

Public Types

typedef GM::ValueType ValueType
 
typedef trws_base::MaxSumTRWS_Parameters< ValueTypeparent
 
typedef trws_base::DecompositionStorage< GM > Storage
 
typedef std::vector< typename GM::ValueType > DDVectorType
 
- Public Types inherited from opengm::trws_base::MaxSumTRWS_Parameters< GM::ValueType >
typedef TRWSPrototype_Parameters< GM::ValueType > parent
 

Public Member Functions

 TRWSi_Parameter (size_t maxIternum=0, typename Storage::StructureType decompositionType=Storage::GENERALSTRUCTURE, ValueType precision=1.0, bool absolutePrecision=true, bool verbose=false)
 
size_tmaxNumberOfIterations ()
 
const size_tmaxNumberOfIterations () const
 
ValueTypeprecision ()
 
const ValueTypeprecision () const
 
boolisAbsolutePrecision ()
 
const boolisAbsolutePrecision () const
 
ValueTypeminRelativeDualImprovement ()
 
const ValueTypeminRelativeDualImprovement () const
 
boolfastComputations ()
 
const boolfastComputations () const
 
boolcanonicalNormalization ()
 
const boolcanonicalNormalization () const
 
Storage::StructureTypedecompositionType ()
 
const Storage::StructureTypedecompositionType () const
 
boolverbose ()
 
const boolverbose () const
 
- Public Member Functions inherited from opengm::trws_base::MaxSumTRWS_Parameters< GM::ValueType >
 MaxSumTRWS_Parameters (size_t maxIternum, GM::ValueTypeprecision=1.0, bool absolutePrecision=true, GM::ValueTypeminRelativeDualImprovement=-1.0, bool fastComputations=true, bool canonicalNormalization=false, size_t treeAgreeMaxStableIter=0)
 
size_t treeAgreeMaxStableIter () const
 
void setTreeAgreeMaxStableIter (size_t val)
 
- Public Member Functions inherited from opengm::trws_base::TRWSPrototype_Parameters< GM::ValueType >
 TRWSPrototype_Parameters (size_t maxIternum, GM::ValueTypeprecision=1.0, bool absolutePrecision=true, GM::ValueTypeminRelativeDualImprovement=-1.0, bool fastComputations=true, bool canonicalNormalization=false)
 

Public Attributes

Storage::StructureType decompositionType_
 
bool verbose_
 
DDVectorType initPoint_
 
- Public Attributes inherited from opengm::trws_base::TRWSPrototype_Parameters< GM::ValueType >
size_t maxNumberOfIterations_
 
GM::ValueType precision_
 
bool absolutePrecision_
 
GM::ValueType minRelativeDualImprovement_
 
bool fastComputations_
 
bool canonicalNormalization_
 

Detailed Description

template<class GM>
struct opengm::TRWSi_Parameter< GM >

Definition at line 10 of file trws_trws.hxx.

Member Typedef Documentation

template<class GM >
typedef std::vector<typename GM::ValueType> opengm::TRWSi_Parameter< GM >::DDVectorType

Definition at line 15 of file trws_trws.hxx.

Definition at line 13 of file trws_trws.hxx.

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

Definition at line 14 of file trws_trws.hxx.

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

Definition at line 12 of file trws_trws.hxx.

Constructor & Destructor Documentation

template<class GM >
opengm::TRWSi_Parameter< GM >::TRWSi_Parameter ( size_t  maxIternum = 0,
typename Storage::StructureType  decompositionType = Storage::GENERALSTRUCTURE,
ValueType  precision = 1.0,
bool  absolutePrecision = true,
bool  verbose = false 
)
inline

Definition at line 17 of file trws_trws.hxx.

Member Function Documentation

template<class GM >
bool& opengm::TRWSi_Parameter< GM >::canonicalNormalization ( )
inline

Definition at line 49 of file trws_trws.hxx.

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

Definition at line 50 of file trws_trws.hxx.

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

Definition at line 52 of file trws_trws.hxx.

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

Definition at line 53 of file trws_trws.hxx.

template<class GM >
bool& opengm::TRWSi_Parameter< GM >::fastComputations ( )
inline

Definition at line 46 of file trws_trws.hxx.

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

Definition at line 47 of file trws_trws.hxx.

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

Definition at line 40 of file trws_trws.hxx.

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

Definition at line 41 of file trws_trws.hxx.

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

Definition at line 33 of file trws_trws.hxx.

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

Definition at line 34 of file trws_trws.hxx.

template<class GM >
ValueType& opengm::TRWSi_Parameter< GM >::minRelativeDualImprovement ( )
inline

Definition at line 43 of file trws_trws.hxx.

template<class GM >
const ValueType& opengm::TRWSi_Parameter< GM >::minRelativeDualImprovement ( ) const
inline

Definition at line 44 of file trws_trws.hxx.

template<class GM >
ValueType& opengm::TRWSi_Parameter< GM >::precision ( )
inline

Definition at line 37 of file trws_trws.hxx.

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

Definition at line 38 of file trws_trws.hxx.

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

Definition at line 55 of file trws_trws.hxx.

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

Definition at line 56 of file trws_trws.hxx.

Member Data Documentation

template<class GM >
Storage::StructureType opengm::TRWSi_Parameter< GM >::decompositionType_

Definition at line 29 of file trws_trws.hxx.

template<class GM >
DDVectorType opengm::TRWSi_Parameter< GM >::initPoint_

Definition at line 31 of file trws_trws.hxx.

template<class GM >
bool opengm::TRWSi_Parameter< GM >::verbose_

Definition at line 30 of file trws_trws.hxx.