OpenGM  2.3.x
Discrete Graphical Model Library
Public Member Functions | Public Attributes | List of all members
opengm::LOC< GM, ACC >::Parameter Class Reference

#include <loc.hxx>

+ Collaboration diagram for opengm::LOC< GM, ACC >::Parameter:

Public Member Functions

 Parameter (const std::string solver="ad3", const double phi=0.3, const size_t maxBlockRadius=50, const size_t maxTreeRadius=50, const double pFastHeuristic=0.9, const size_t maxIterations=100000, const size_t stopAfterNBadIterations=10000, const size_t maxBlockSize=0, const size_t maxTreeSize=0, const int treeRuns=1)
 constuctor More...
 

Public Attributes

std::string solver_
 
double phi_
 phi of the truncated geometric distribution is used to select a certain subgraph radius with a certain probability More...
 
size_t maxBlockRadius_
 maximum subgraph radius More...
 
size_t maxTreeRadius_
 
double pFastHeuristic_
 prob. of f More...
 
size_t maxIterations_
 maximum number of iterations More...
 
size_t stopAfterNBadIterations_
 
size_t maxBlockSize_
 
size_t maxTreeSize_
 
int treeRuns_
 

Detailed Description

template<class GM, class ACC>
class opengm::LOC< GM, ACC >::Parameter

Definition at line 85 of file loc.hxx.

Constructor & Destructor Documentation

template<class GM, class ACC>
opengm::LOC< GM, ACC >::Parameter::Parameter ( const std::string  solver = "ad3",
const double  phi = 0.3,
const size_t  maxBlockRadius = 50,
const size_t  maxTreeRadius = 50,
const double  pFastHeuristic = 0.9,
const size_t  maxIterations = 100000,
const size_t  stopAfterNBadIterations = 10000,
const size_t  maxBlockSize = 0,
const size_t  maxTreeSize = 0,
const int  treeRuns = 1 
)
inline

constuctor

Parameters
phiparameter of the truncated geometric distribution is used to select a certain subgraph radius with a certain probability
maxRadiusmaximum radius for the subgraphes which are optimized within opengm:::LOC
maxIterationmaximum number of iterations (in one iteration on subgraph gets) optimized
ad3Thresholdif the subgraph size is bigger than ad3Threshold opengm::external::Ad3Inf is used to optimize the subgraphes
stopAfterNBadIterationsstop after n iterations without improvement

Definition at line 94 of file loc.hxx.

Member Data Documentation

template<class GM, class ACC>
size_t opengm::LOC< GM, ACC >::Parameter::maxBlockRadius_

maximum subgraph radius

Definition at line 123 of file loc.hxx.

template<class GM, class ACC>
size_t opengm::LOC< GM, ACC >::Parameter::maxBlockSize_

Definition at line 134 of file loc.hxx.

template<class GM, class ACC>
size_t opengm::LOC< GM, ACC >::Parameter::maxIterations_

maximum number of iterations

Definition at line 128 of file loc.hxx.

template<class GM, class ACC>
size_t opengm::LOC< GM, ACC >::Parameter::maxTreeRadius_

Definition at line 124 of file loc.hxx.

template<class GM, class ACC>
size_t opengm::LOC< GM, ACC >::Parameter::maxTreeSize_

Definition at line 135 of file loc.hxx.

template<class GM, class ACC>
double opengm::LOC< GM, ACC >::Parameter::pFastHeuristic_

prob. of f

Definition at line 126 of file loc.hxx.

template<class GM, class ACC>
double opengm::LOC< GM, ACC >::Parameter::phi_

phi of the truncated geometric distribution is used to select a certain subgraph radius with a certain probability

Definition at line 121 of file loc.hxx.

template<class GM, class ACC>
std::string opengm::LOC< GM, ACC >::Parameter::solver_

Definition at line 119 of file loc.hxx.

template<class GM, class ACC>
size_t opengm::LOC< GM, ACC >::Parameter::stopAfterNBadIterations_

Definition at line 131 of file loc.hxx.

template<class GM, class ACC>
int opengm::LOC< GM, ACC >::Parameter::treeRuns_

Definition at line 136 of file loc.hxx.