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, TABLES, TL1, TL2 }
 possible energy types for TRWS More...
 

Public Member Functions

 Parameter ()
 Constructor. More...
 

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 49 of file trws.hxx.

Constructor & Destructor Documentation

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

Constructor.

Definition at line 69 of file trws.hxx.

Member Data Documentation

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

Calculate MinMarginals.

Definition at line 67 of file trws.hxx.

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

use normal LBP

Definition at line 59 of file trws.hxx.

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

selected energy type

Definition at line 61 of file trws.hxx.

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

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

Definition at line 65 of file trws.hxx.

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

number of iterations

Definition at line 53 of file trws.hxx.

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

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

Definition at line 63 of file trws.hxx.

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

random starting message

Definition at line 55 of file trws.hxx.

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

zero starting message

Definition at line 57 of file trws.hxx.