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

#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...
 
template<class P >
 Parameter (const P &p)
 

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

Definition at line 57 of file mrflib.hxx.

Member Enumeration Documentation

possible energy types for MRFLIB

Enumerator
VIEW 
TABLES 
TL1 
TL2 
WEIGHTEDTABLE 

Definition at line 61 of file mrflib.hxx.

possible optimization algorithms for MRFLIB

Enumerator
ICM 
EXPANSION 
SWAP 
MAXPRODBP 
TRWS 
BPS 

Definition at line 59 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 71 of file mrflib.hxx.

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

Definition at line 75 of file mrflib.hxx.

+ Here is the call graph for this function:

Member Data Documentation

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

selected energy type

Definition at line 65 of file mrflib.hxx.

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

selected optimization algorithm

Definition at line 63 of file mrflib.hxx.

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

number of iterations

Definition at line 67 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 69 of file mrflib.hxx.