opengm::GibbsMarginalVisitor< GIBBS > Class Template Reference
[Inference Algorithms]

Visitor for the Gibbs sampler to compute arbitrary marginal probabilities. More...

#include <gibbs.hxx>

Collaboration diagram for opengm::GibbsMarginalVisitor< GIBBS >:
Collaboration graph
[legend]

List of all members.

Public Types

typedef GIBBS GibbsType
typedef GibbsType::ValueType ValueType
typedef
GibbsType::GraphicalModelType 
GraphicalModelType
typedef
GraphicalModelType::IndependentFactorType 
IndependentFactorType

Public Member Functions

 GibbsMarginalVisitor ()
 GibbsMarginalVisitor (const GraphicalModelType &)
void assign (const GraphicalModelType &)
template<class VariableIndexIterator >
size_t addMarginal (VariableIndexIterator, VariableIndexIterator)
size_t addMarginal (const size_t)
void operator() (const GibbsType &, const ValueType, const ValueType, const size_t, const bool, const bool)
void begin (const GibbsType &, const ValueType, const ValueType) const
void end (const GibbsType &, const ValueType, const ValueType) const
size_t numberOfSamples () const
size_t numberOfAcceptedSamples () const
size_t numberOfRejectedSamples () const
size_t numberOfMarginals () const
const IndependentFactorTypemarginal (const size_t) const

Detailed Description

template<class GIBBS>
class opengm::GibbsMarginalVisitor< GIBBS >

Visitor for the Gibbs sampler to compute arbitrary marginal probabilities.

Definition at line 56 of file gibbs.hxx.


Member Typedef Documentation

template<class GIBBS>
typedef GIBBS opengm::GibbsMarginalVisitor< GIBBS >::GibbsType

Definition at line 58 of file gibbs.hxx.

template<class GIBBS>
typedef GibbsType::GraphicalModelType opengm::GibbsMarginalVisitor< GIBBS >::GraphicalModelType

Definition at line 60 of file gibbs.hxx.

template<class GIBBS>
typedef GraphicalModelType::IndependentFactorType opengm::GibbsMarginalVisitor< GIBBS >::IndependentFactorType

Definition at line 61 of file gibbs.hxx.

template<class GIBBS>
typedef GibbsType::ValueType opengm::GibbsMarginalVisitor< GIBBS >::ValueType

Definition at line 59 of file gibbs.hxx.


Constructor & Destructor Documentation

template<class GIBBS >
opengm::GibbsMarginalVisitor< GIBBS >::GibbsMarginalVisitor (  )  [inline]

Definition at line 432 of file gibbs.hxx.

template<class GIBBS>
opengm::GibbsMarginalVisitor< GIBBS >::GibbsMarginalVisitor ( const GraphicalModelType  ) 

Member Function Documentation

template<class GIBBS >
size_t opengm::GibbsMarginalVisitor< GIBBS >::addMarginal ( const size_t  variableIndex  )  [inline]

Definition at line 506 of file gibbs.hxx.

Here is the call graph for this function:

template<class GIBBS >
template<class VariableIndexIterator >
size_t opengm::GibbsMarginalVisitor< GIBBS >::addMarginal ( VariableIndexIterator  begin,
VariableIndexIterator  end 
) [inline]

Definition at line 493 of file gibbs.hxx.

Here is the caller graph for this function:

template<class GIBBS>
void opengm::GibbsMarginalVisitor< GIBBS >::assign ( const GraphicalModelType  ) 
template<class GIBBS>
void opengm::GibbsMarginalVisitor< GIBBS >::begin ( const GibbsType ,
const   ValueType,
const   ValueType 
) const [inline]

Definition at line 75 of file gibbs.hxx.

template<class GIBBS>
void opengm::GibbsMarginalVisitor< GIBBS >::end ( const GibbsType ,
const   ValueType,
const   ValueType 
) const [inline]

Definition at line 76 of file gibbs.hxx.

template<class GIBBS >
const GibbsMarginalVisitor< GIBBS >::IndependentFactorType & opengm::GibbsMarginalVisitor< GIBBS >::marginal ( const size_t  setIndex  )  const [inline]

Definition at line 539 of file gibbs.hxx.

template<class GIBBS >
size_t opengm::GibbsMarginalVisitor< GIBBS >::numberOfAcceptedSamples (  )  const [inline]

Definition at line 521 of file gibbs.hxx.

template<class GIBBS >
size_t opengm::GibbsMarginalVisitor< GIBBS >::numberOfMarginals (  )  const [inline]

Definition at line 533 of file gibbs.hxx.

template<class GIBBS >
size_t opengm::GibbsMarginalVisitor< GIBBS >::numberOfRejectedSamples (  )  const [inline]

Definition at line 527 of file gibbs.hxx.

template<class GIBBS >
size_t opengm::GibbsMarginalVisitor< GIBBS >::numberOfSamples (  )  const [inline]

Definition at line 515 of file gibbs.hxx.

template<class GIBBS>
void opengm::GibbsMarginalVisitor< GIBBS >::operator() ( const GibbsType ,
const   ValueType,
const   ValueType,
const   size_t,
const   bool,
const   bool 
)
 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