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

Parameter. More...

#include <mrflib.hxx>

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

Public Types

enum  InferenceType {
  ICM, EXPANSION, SWAP, MAXPRODBP,
  TRWS, BPS
}
 possible optimization algorithms for MRFLIB More...
 
enum  EnergyType {
  VIEW, TABLES, TL1, TL2,
  WEIGHTEDTABLE
}
 possible energy types for MRFLIB More...
 

Public Member Functions

 Parameter (const InferenceType inferenceType=ICM, const EnergyType energyType=VIEW, const size_t numberOfIterations=1000)
 Constructor. More...
 

Public Attributes

InferenceType inferenceType_
 selected optimization algorithm More...
 
EnergyType energyType_
 selected energy type More...
 
size_t numberOfIterations_
 number of iterations More...
 
double trwsTolerance_
 TRWS termintas if fabs(value - bound) / max(fabs(value), 1) < trwsTolerance_. More...
 

Detailed Description

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

Parameter.

Definition at line 46 of file mrflib.hxx.

Constructor & Destructor Documentation

template<class GM>
opengm::external::MRFLIB< GM >::Parameter::Parameter ( const InferenceType  inferenceType = ICM,
const EnergyType  energyType = VIEW,
const size_t  numberOfIterations = 1000 
)
inline

Constructor.

Definition at line 60 of file mrflib.hxx.

Member Data Documentation

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

selected energy type

Definition at line 54 of file mrflib.hxx.

template<class GM>
InferenceType opengm::external::MRFLIB< GM >::Parameter::inferenceType_

selected optimization algorithm

Definition at line 52 of file mrflib.hxx.

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

number of iterations

Definition at line 56 of file mrflib.hxx.

template<class GM>
double opengm::external::MRFLIB< GM >::Parameter::trwsTolerance_

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

Definition at line 58 of file mrflib.hxx.