OpenGM  2.3.x
Discrete Graphical Model Library
Public Types | Public Member Functions | List of all members
opengm::SwendsenWangMarginalVisitor< SW > Class Template Reference

Visitor. More...

#include <swendsenwang.hxx>

+ Collaboration diagram for opengm::SwendsenWangMarginalVisitor< SW >:

Public Types

typedef SW SwendsenWangType
 
typedef SwendsenWangType::ValueType ValueType
 
typedef SwendsenWangType::GraphicalModelType GraphicalModelType
 
typedef GraphicalModelType::IndependentFactorType IndependentFactorType
 

Public Member Functions

 SwendsenWangMarginalVisitor ()
 
 SwendsenWangMarginalVisitor (const GraphicalModelType &)
 
void assign (const GraphicalModelType &)
 
template<class VariableIndexIterator >
size_t addMarginal (VariableIndexIterator, VariableIndexIterator)
 
size_t addMarginal (const size_t)
 
void operator() (const SwendsenWangType &, const size_t, const size_t, const bool, const bool)
 
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 SW>
class opengm::SwendsenWangMarginalVisitor< SW >

Visitor.

Examples:
swendsenwang.cxx.

Definition at line 75 of file swendsenwang.hxx.

Member Typedef Documentation

template<class SW>
typedef SwendsenWangType::GraphicalModelType opengm::SwendsenWangMarginalVisitor< SW >::GraphicalModelType

Definition at line 79 of file swendsenwang.hxx.

template<class SW>
typedef GraphicalModelType::IndependentFactorType opengm::SwendsenWangMarginalVisitor< SW >::IndependentFactorType

Definition at line 80 of file swendsenwang.hxx.

template<class SW>
typedef SW opengm::SwendsenWangMarginalVisitor< SW >::SwendsenWangType

Definition at line 77 of file swendsenwang.hxx.

template<class SW>
typedef SwendsenWangType::ValueType opengm::SwendsenWangMarginalVisitor< SW >::ValueType

Definition at line 78 of file swendsenwang.hxx.

Constructor & Destructor Documentation

Definition at line 603 of file swendsenwang.hxx.

Member Function Documentation

template<class SW >
template<class VariableIndexIterator >
size_t opengm::SwendsenWangMarginalVisitor< SW >::addMarginal ( VariableIndexIterator  begin,
VariableIndexIterator  end 
)
inline

Definition at line 663 of file swendsenwang.hxx.

template<class SW >
size_t opengm::SwendsenWangMarginalVisitor< SW >::addMarginal ( const size_t  variableIndex)
inline

Definition at line 676 of file swendsenwang.hxx.

template<class SW>
void opengm::SwendsenWangMarginalVisitor< SW >::assign ( const GraphicalModelType )
inline

Definition at line 627 of file swendsenwang.hxx.

template<class SW >
const SwendsenWangMarginalVisitor< SW >::IndependentFactorType & opengm::SwendsenWangMarginalVisitor< SW >::marginal ( const size_t  setIndex) const
inline

Definition at line 709 of file swendsenwang.hxx.

template<class SW >
size_t opengm::SwendsenWangMarginalVisitor< SW >::numberOfAcceptedSamples ( ) const
inline

Definition at line 691 of file swendsenwang.hxx.

template<class SW >
size_t opengm::SwendsenWangMarginalVisitor< SW >::numberOfMarginals ( ) const
inline

Definition at line 703 of file swendsenwang.hxx.

template<class SW >
size_t opengm::SwendsenWangMarginalVisitor< SW >::numberOfRejectedSamples ( ) const
inline

Definition at line 697 of file swendsenwang.hxx.

template<class SW >
size_t opengm::SwendsenWangMarginalVisitor< SW >::numberOfSamples ( ) const
inline

Definition at line 685 of file swendsenwang.hxx.

template<class SW>
void opengm::SwendsenWangMarginalVisitor< SW >::operator() ( const SwendsenWangType ,
const size_t  ,
const size_t  ,
const bool  ,
const bool   
)
inline

Definition at line 636 of file swendsenwang.hxx.