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::ValueType precision=1.0, bool absolutePrecision=true, GM::ValueType minRelativeDualImprovement=-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::ValueType precision=1.0, bool absolutePrecision=true, GM::ValueType minRelativeDualImprovement=-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

§ DDVectorType

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

Definition at line 15 of file trws_trws.hxx.

§ parent

Definition at line 13 of file trws_trws.hxx.

§ Storage

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

Definition at line 14 of file trws_trws.hxx.

§ ValueType

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

Definition at line 12 of file trws_trws.hxx.

Constructor & Destructor Documentation

§ TRWSi_Parameter()

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

§ canonicalNormalization() [1/2]

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

Definition at line 49 of file trws_trws.hxx.

+ Here is the caller graph for this function:

§ canonicalNormalization() [2/2]

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

Definition at line 50 of file trws_trws.hxx.

§ decompositionType() [1/2]

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

Definition at line 52 of file trws_trws.hxx.

+ Here is the caller graph for this function:

§ decompositionType() [2/2]

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

Definition at line 53 of file trws_trws.hxx.

§ fastComputations() [1/2]

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

Definition at line 46 of file trws_trws.hxx.

+ Here is the caller graph for this function:

§ fastComputations() [2/2]

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

Definition at line 47 of file trws_trws.hxx.

§ isAbsolutePrecision() [1/2]

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

Definition at line 40 of file trws_trws.hxx.

+ Here is the caller graph for this function:

§ isAbsolutePrecision() [2/2]

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

Definition at line 41 of file trws_trws.hxx.

§ maxNumberOfIterations() [1/2]

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

Definition at line 33 of file trws_trws.hxx.

+ Here is the caller graph for this function:

§ maxNumberOfIterations() [2/2]

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

Definition at line 34 of file trws_trws.hxx.

§ minRelativeDualImprovement() [1/2]

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

Definition at line 43 of file trws_trws.hxx.

+ Here is the caller graph for this function:

§ minRelativeDualImprovement() [2/2]

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

Definition at line 44 of file trws_trws.hxx.

§ precision() [1/2]

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

Definition at line 37 of file trws_trws.hxx.

+ Here is the caller graph for this function:

§ precision() [2/2]

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

Definition at line 38 of file trws_trws.hxx.

§ verbose() [1/2]

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

Definition at line 55 of file trws_trws.hxx.

+ Here is the caller graph for this function:

§ verbose() [2/2]

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

Definition at line 56 of file trws_trws.hxx.

+ Here is the call graph for this function:

Member Data Documentation

§ decompositionType_

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

Definition at line 29 of file trws_trws.hxx.

§ initPoint_

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

Definition at line 31 of file trws_trws.hxx.

§ verbose_

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

Definition at line 30 of file trws_trws.hxx.