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

Parameter. More...

#include <trws.hxx>

+ Collaboration diagram for opengm::external::TRWS< GM >::Parameter:

Public Types

enum  EnergyType { VIEW =0, TABLES =1, TL1 =2, TL2 =3 }
 possible energy types for TRWS More...
 

Public Member Functions

template<class P >
 Parameter (const P &p)
 Constructor. More...
 
 Parameter ()
 

Public Attributes

size_t numberOfIterations_
 number of iterations More...
 
bool useRandomStart_
 random starting message More...
 
bool useZeroStart_
 zero starting message More...
 
bool doBPS_
 use normal LBP More...
 
EnergyType energyType_
 selected energy type More...
 
double tolerance_
 TRWS termintas if fabs(value - bound) / max(fabs(value), 1) < trwsTolerance_. More...
 
double minDualChange_
 TRWS termintas if fabs(bound(t)-bound(t+1)) < minDualChange_. More...
 
bool calculateMinMarginals_
 Calculate MinMarginals. More...
 

Detailed Description

template<class GM>
struct opengm::external::TRWS< GM >::Parameter

Parameter.

Definition at line 61 of file trws.hxx.

Member Enumeration Documentation

§ EnergyType

possible energy types for TRWS

Enumerator
VIEW 
TABLES 
TL1 
TL2 

Definition at line 63 of file trws.hxx.

Constructor & Destructor Documentation

§ Parameter() [1/2]

template<class GM >
template<class P >
opengm::external::TRWS< GM >::Parameter::Parameter ( const P &  p)
inline

Constructor.

Definition at line 82 of file trws.hxx.

§ Parameter() [2/2]

template<class GM >
opengm::external::TRWS< GM >::Parameter::Parameter ( )
inline

Definition at line 105 of file trws.hxx.

+ Here is the call graph for this function:

Member Data Documentation

§ calculateMinMarginals_

template<class GM >
bool opengm::external::TRWS< GM >::Parameter::calculateMinMarginals_

Calculate MinMarginals.

Definition at line 79 of file trws.hxx.

§ doBPS_

template<class GM >
bool opengm::external::TRWS< GM >::Parameter::doBPS_

use normal LBP

Definition at line 71 of file trws.hxx.

§ energyType_

template<class GM >
EnergyType opengm::external::TRWS< GM >::Parameter::energyType_

selected energy type

Definition at line 73 of file trws.hxx.

§ minDualChange_

template<class GM >
double opengm::external::TRWS< GM >::Parameter::minDualChange_

TRWS termintas if fabs(bound(t)-bound(t+1)) < minDualChange_.

Definition at line 77 of file trws.hxx.

§ numberOfIterations_

template<class GM >
size_t opengm::external::TRWS< GM >::Parameter::numberOfIterations_

number of iterations

Definition at line 65 of file trws.hxx.

§ tolerance_

template<class GM >
double opengm::external::TRWS< GM >::Parameter::tolerance_

TRWS termintas if fabs(value - bound) / max(fabs(value), 1) < trwsTolerance_.

Definition at line 75 of file trws.hxx.

§ useRandomStart_

template<class GM >
bool opengm::external::TRWS< GM >::Parameter::useRandomStart_

random starting message

Definition at line 67 of file trws.hxx.

§ useZeroStart_

template<class GM >
bool opengm::external::TRWS< GM >::Parameter::useZeroStart_

zero starting message

Definition at line 69 of file trws.hxx.