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

Parameter. More...

#include <gco.hxx>

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

Public Types

enum  InferenceType { EXPANSION, SWAP }
 possible optimization algorithms for GCOLIB More...
 
enum  EnergyType { VIEW, TABLES, WEIGHTEDTABLE }
 possible energy types for GCOLIB More...
 

Public Member Functions

 Parameter (const InferenceType inferenceType=EXPANSION, const EnergyType energyType=VIEW, const size_t numberOfIterations=1000)
 

Public Attributes

InferenceType inferenceType_
 selected optimization algorithm More...
 
EnergyType energyType_
 selected energy type More...
 
size_t numberOfIterations_
 number of iterations More...
 
bool randomLabelOrder_
 Enable random label order. By default, the labels for the swap and expansion algorithms are visited in not random order, but random label visitation might give better results. More...
 
bool useAdaptiveCycles_
 Use adaptive cycles for alpha-expansion. More...
 
bool doNotUseGrid_
 Do not use grid structure. More...
 

Detailed Description

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

Parameter.

Definition at line 38 of file gco.hxx.

Member Enumeration Documentation

§ EnergyType

possible energy types for GCOLIB

Enumerator
VIEW 
TABLES 
WEIGHTEDTABLE 

Definition at line 42 of file gco.hxx.

§ InferenceType

possible optimization algorithms for GCOLIB

Enumerator
EXPANSION 
SWAP 

Definition at line 40 of file gco.hxx.

Constructor & Destructor Documentation

§ Parameter()

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

Definition at line 55 of file gco.hxx.

+ Here is the call graph for this function:

Member Data Documentation

§ doNotUseGrid_

template<class GM>
bool opengm::external::GCOLIB< GM >::Parameter::doNotUseGrid_

Do not use grid structure.

Definition at line 54 of file gco.hxx.

§ energyType_

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

selected energy type

Definition at line 46 of file gco.hxx.

§ inferenceType_

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

selected optimization algorithm

Definition at line 44 of file gco.hxx.

§ numberOfIterations_

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

number of iterations

Definition at line 48 of file gco.hxx.

§ randomLabelOrder_

template<class GM>
bool opengm::external::GCOLIB< GM >::Parameter::randomLabelOrder_

Enable random label order. By default, the labels for the swap and expansion algorithms are visited in not random order, but random label visitation might give better results.

Definition at line 50 of file gco.hxx.

§ useAdaptiveCycles_

template<class GM>
bool opengm::external::GCOLIB< GM >::Parameter::useAdaptiveCycles_

Use adaptive cycles for alpha-expansion.

Definition at line 52 of file gco.hxx.