Visitor for the Gibbs sampler to compute arbitrary marginal probabilities. More...
#include <gibbs.hxx>
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 IndependentFactorType & | marginal (const size_t) const |
Visitor for the Gibbs sampler to compute arbitrary marginal probabilities.
Definition at line 56 of file gibbs.hxx.
typedef GIBBS opengm::GibbsMarginalVisitor< GIBBS >::GibbsType |
typedef GibbsType::GraphicalModelType opengm::GibbsMarginalVisitor< GIBBS >::GraphicalModelType |
typedef GraphicalModelType::IndependentFactorType opengm::GibbsMarginalVisitor< GIBBS >::IndependentFactorType |
typedef GibbsType::ValueType opengm::GibbsMarginalVisitor< GIBBS >::ValueType |
opengm::GibbsMarginalVisitor< GIBBS >::GibbsMarginalVisitor | ( | ) | [inline] |
opengm::GibbsMarginalVisitor< GIBBS >::GibbsMarginalVisitor | ( | const GraphicalModelType & | ) |
size_t opengm::GibbsMarginalVisitor< GIBBS >::addMarginal | ( | const size_t | variableIndex | ) | [inline] |
size_t opengm::GibbsMarginalVisitor< GIBBS >::addMarginal | ( | VariableIndexIterator | begin, | |
VariableIndexIterator | end | |||
) | [inline] |
void opengm::GibbsMarginalVisitor< GIBBS >::assign | ( | const GraphicalModelType & | ) |
void opengm::GibbsMarginalVisitor< GIBBS >::begin | ( | const GibbsType & | , | |
const | ValueType, | |||
const | ValueType | |||
) | const [inline] |
void opengm::GibbsMarginalVisitor< GIBBS >::end | ( | const GibbsType & | , | |
const | ValueType, | |||
const | ValueType | |||
) | const [inline] |
const GibbsMarginalVisitor< GIBBS >::IndependentFactorType & opengm::GibbsMarginalVisitor< GIBBS >::marginal | ( | const size_t | setIndex | ) | const [inline] |
size_t opengm::GibbsMarginalVisitor< GIBBS >::numberOfAcceptedSamples | ( | ) | const [inline] |
size_t opengm::GibbsMarginalVisitor< GIBBS >::numberOfMarginals | ( | ) | const [inline] |
size_t opengm::GibbsMarginalVisitor< GIBBS >::numberOfRejectedSamples | ( | ) | const [inline] |
size_t opengm::GibbsMarginalVisitor< GIBBS >::numberOfSamples | ( | ) | const [inline] |
void opengm::GibbsMarginalVisitor< GIBBS >::operator() | ( | const GibbsType & | , | |
const | ValueType, | |||
const | ValueType, | |||
const | size_t, | |||
const | bool, | |||
const | bool | |||
) |