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

Brute force inference algorithm. More...

#include <bruteforce.hxx>

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

List of all members.

Classes

class  Parameter

Public Types

typedef ACC AccumulationType
typedef GM GraphicalModelType
typedef
GraphicalModelType::LabelType 
LabelType
typedef
GraphicalModelType::IndexType 
IndexType
typedef
GraphicalModelType::ValueType 
ValueType
typedef
GraphicalModelType::OperatorType 
OperatorType
typedef
GraphicalModelType::FactorType 
FactorType
typedef
GraphicalModelType::IndependentFactorType 
IndependentFactorType
typedef
GraphicalModelType::FunctionIdentifier 
FunctionIdentifier
typedef std::vector< LabelType >
::const_iterator 
LabelIterator
typedef EmptyVisitor
< Bruteforce< GM, ACC > > 
EmptyVisitorType
typedef VerboseVisitor
< Bruteforce< GM, ACC > > 
VerboseVisitorType
typedef TimingVisitor
< Bruteforce< GM, ACC > > 
TimingVisitorType

Public Member Functions

 Bruteforce (const GraphicalModelType &)
 Bruteforce (const GraphicalModelType &, const Parameter &)
std::string name () const
const GraphicalModelTypegraphicalModel () const
InferenceTermination infer ()
template<class VISITOR >
InferenceTermination infer (VISITOR &)
InferenceTermination arg (std::vector< LabelType > &, const size_t=1) const
 output a solution
virtual ValueType value () const
 return the solution (value)
void reset ()

Detailed Description

template<class GM, class ACC>
class opengm::Bruteforce< GM, ACC >

Brute force inference algorithm.

Definition at line 15 of file bruteforce.hxx.


Member Typedef Documentation

template<class GM , class ACC >
typedef ACC opengm::Bruteforce< GM, ACC >::AccumulationType

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

Definition at line 18 of file bruteforce.hxx.

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

Definition at line 22 of file bruteforce.hxx.

template<class GM , class ACC >
typedef GraphicalModelType::FactorType opengm::Bruteforce< GM, ACC >::FactorType

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

Definition at line 20 of file bruteforce.hxx.

template<class GM , class ACC >
typedef GraphicalModelType::FunctionIdentifier opengm::Bruteforce< GM, ACC >::FunctionIdentifier

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

Definition at line 20 of file bruteforce.hxx.

template<class GM , class ACC >
typedef GM opengm::Bruteforce< GM, ACC >::GraphicalModelType

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

Definition at line 19 of file bruteforce.hxx.

template<class GM , class ACC >
typedef GraphicalModelType::IndependentFactorType opengm::Bruteforce< GM, ACC >::IndependentFactorType

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

Definition at line 20 of file bruteforce.hxx.

template<class GM , class ACC >
typedef GraphicalModelType::IndexType opengm::Bruteforce< GM, ACC >::IndexType

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

Definition at line 20 of file bruteforce.hxx.

template<class GM , class ACC >
typedef std::vector<LabelType>::const_iterator opengm::Bruteforce< GM, ACC >::LabelIterator

Definition at line 21 of file bruteforce.hxx.

template<class GM , class ACC >
typedef GraphicalModelType::LabelType opengm::Bruteforce< GM, ACC >::LabelType

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

Definition at line 20 of file bruteforce.hxx.

template<class GM , class ACC >
typedef GraphicalModelType::OperatorType opengm::Bruteforce< GM, ACC >::OperatorType

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

Definition at line 20 of file bruteforce.hxx.

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

Definition at line 24 of file bruteforce.hxx.

template<class GM , class ACC >
typedef GraphicalModelType::ValueType opengm::Bruteforce< GM, ACC >::ValueType

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

Definition at line 20 of file bruteforce.hxx.

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

Definition at line 23 of file bruteforce.hxx.


Constructor & Destructor Documentation

template<class GM , class AKK >
opengm::Bruteforce< GM, AKK >::Bruteforce ( const GraphicalModelType gm  )  [inline]

Definition at line 46 of file bruteforce.hxx.

template<class GM , class ACC >
opengm::Bruteforce< GM, ACC >::Bruteforce ( const GraphicalModelType ,
const Parameter  
)

Member Function Documentation

template<class GM , class AKK >
InferenceTermination opengm::Bruteforce< GM, AKK >::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 123 of file bruteforce.hxx.

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

Implements opengm::Inference< GM, ACC >.

Definition at line 30 of file bruteforce.hxx.

template<class GM , class AKK >
template<class VISITOR >
InferenceTermination opengm::Bruteforce< GM, AKK >::infer ( VISITOR &  visitor  )  [inline]

Definition at line 82 of file bruteforce.hxx.

Here is the call graph for this function:

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

Implements opengm::Inference< GM, ACC >.

Definition at line 31 of file bruteforce.hxx.

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

Implements opengm::Inference< GM, ACC >.

Definition at line 29 of file bruteforce.hxx.

template<class GM , class AKK >
void opengm::Bruteforce< GM, AKK >::reset (  )  [inline]

Definition at line 59 of file bruteforce.hxx.

Here is the call graph for this function:

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

return the solution (value)

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

Definition at line 140 of file bruteforce.hxx.

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