opengm::InfAndFlip< GM, ACC, INF > Class Template Reference
[Inference Algorithms]

Inference and Flip

. More...

#include <infandflip.hxx>

Inheritance diagram for opengm::InfAndFlip< GM, ACC, INF >:
Inheritance graph
[legend]
Collaboration diagram for opengm::InfAndFlip< GM, ACC, INF >:
Collaboration graph
[legend]

List of all members.

Classes

struct  Parameter

Public Types

typedef ACC AccumulationType
typedef GM GraphicalModelType
typedef VerboseVisitor
< InfAndFlip< GM, ACC, INF > > 
VerboseVisitorType
typedef EmptyVisitor
< InfAndFlip< GM, ACC, INF > > 
EmptyVisitorType
typedef TimingVisitor
< InfAndFlip< GM, ACC, INF > > 
TimingVisitorType

Public Member Functions

 InfAndFlip (const GraphicalModelType &, typename InfAndFlip::Parameter param)
std::string name () const
const GraphicalModelTypegraphicalModel () const
ValueType value () const
 return the solution (value)
ValueType bound () const
 return a bound on the solution
void reset ()
InferenceTermination infer ()
 start the algorithm
template<class VisitorType >
InferenceTermination infer (VisitorType &)
 start the algorithm
InferenceTermination arg (std::vector< LabelType > &, const size_t=1) const
 output a solution

Public Attributes

 OPENGM_GM_TYPE_TYPEDEFS

Detailed Description

template<class GM, class ACC, class INF>
class opengm::InfAndFlip< GM, ACC, INF >

Inference and Flip

.

Definition at line 27 of file infandflip.hxx.


Member Typedef Documentation

template<class GM, class ACC, class INF>
typedef ACC opengm::InfAndFlip< GM, ACC, INF >::AccumulationType

Reimplemented from opengm::Inference< GM, ACC >.

Definition at line 29 of file infandflip.hxx.

template<class GM, class ACC, class INF>
typedef EmptyVisitor<InfAndFlip<GM, ACC, INF> > opengm::InfAndFlip< GM, ACC, INF >::EmptyVisitorType

Definition at line 33 of file infandflip.hxx.

template<class GM, class ACC, class INF>
typedef GM opengm::InfAndFlip< GM, ACC, INF >::GraphicalModelType

Reimplemented from opengm::Inference< GM, ACC >.

Definition at line 30 of file infandflip.hxx.

template<class GM, class ACC, class INF>
typedef TimingVisitor<InfAndFlip<GM, ACC, INF> > opengm::InfAndFlip< GM, ACC, INF >::TimingVisitorType

Definition at line 34 of file infandflip.hxx.

template<class GM, class ACC, class INF>
typedef VerboseVisitor<InfAndFlip<GM, ACC, INF> > opengm::InfAndFlip< GM, ACC, INF >::VerboseVisitorType

Definition at line 32 of file infandflip.hxx.


Constructor & Destructor Documentation

template<class GM, class ACC, class INF>
opengm::InfAndFlip< GM, ACC, INF >::InfAndFlip ( const GraphicalModelType ,
typename InfAndFlip< GM, ACC, INF >::Parameter  param 
)

Member Function Documentation

template<class GM , class ACC , class INF >
InferenceTermination opengm::InfAndFlip< GM, ACC, INF >::arg ( std::vector< LabelType > &  arg,
const size_t  argIndex = 1 
) const [inline, virtual]

output a solution

Parameters:
[out] arg labeling
argIndex solution index (0=best, 1=second best, etc.)

Reimplemented from opengm::Inference< GM, ACC >.

Definition at line 143 of file infandflip.hxx.

template<class GM , class ACC , class INF >
InfAndFlip< GM, ACC, INF >::ValueType opengm::InfAndFlip< GM, ACC, INF >::bound (  )  const [inline, virtual]

return a bound on the solution

Reimplemented from opengm::Inference< GM, ACC >.

Definition at line 168 of file infandflip.hxx.

template<class GM , class ACC , class INF >
const InfAndFlip< GM, ACC, INF >::GraphicalModelType & opengm::InfAndFlip< GM, ACC, INF >::graphicalModel (  )  const [inline, virtual]

Implements opengm::Inference< GM, ACC >.

Definition at line 98 of file infandflip.hxx.

template<class GM , class ACC , class INF >
template<class VisitorType >
InferenceTermination opengm::InfAndFlip< GM, ACC, INF >::infer ( VisitorType &  visitor  )  [inline]

start the algorithm

Definition at line 108 of file infandflip.hxx.

Here is the call graph for this function:

template<class GM , class ACC , class INF >
InferenceTermination opengm::InfAndFlip< GM, ACC, INF >::infer (  )  [inline, virtual]

start the algorithm

Implements opengm::Inference< GM, ACC >.

Definition at line 134 of file infandflip.hxx.

template<class GM , class ACC , class INF >
std::string opengm::InfAndFlip< GM, ACC, INF >::name (  )  const [inline, virtual]

Implements opengm::Inference< GM, ACC >.

Definition at line 91 of file infandflip.hxx.

template<class GM , class ACC , class INF >
void opengm::InfAndFlip< GM, ACC, INF >::reset (  )  [inline]

Definition at line 85 of file infandflip.hxx.

template<class GM , class ACC , class INF >
InfAndFlip< GM, ACC, INF >::ValueType opengm::InfAndFlip< GM, ACC, INF >::value (  )  const [inline, virtual]

return the solution (value)

Reimplemented from opengm::Inference< GM, ACC >.

Definition at line 162 of file infandflip.hxx.


Member Data Documentation

template<class GM, class ACC, class INF>
opengm::InfAndFlip< GM, ACC, INF >::OPENGM_GM_TYPE_TYPEDEFS

Definition at line 31 of file infandflip.hxx.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Generated on Mon Jun 17 16:31:12 2013 for OpenGM by  doxygen 1.6.3