KJB
|
#include <sample_proposer.h>
Public Types | |
typedef std::vector< Proposer > | Proposer_vector |
Public Member Functions | |
Multi_proposer_proposer (const Proposer_vector &proposers) | |
Constructs a Multi_proposer_proposer with a uniform distribution. More... | |
Multi_proposer_proposer (const Proposer_vector &proposers, const kjb::Categorical_distribution< int > &dist) | |
Constructs a Multi_proposer_proposer with the given proposers and their distribution. More... | |
Mh_proposal_result | operator() (const Model &m, Model &m_p) |
Proposes new model. More... | |
Model | The model type. Must comply with BaseModel concept. |
Multi_proposer_proposer is a proposer that proposes models by u.a.r. choosing a proposer from a set of proposers at each iteration. Naturally, the proposers of the proposer vector must be of the same model type.
typedef std::vector<Proposer> Multi_proposer_proposer< Model >::Proposer_vector |
|
inline |
Constructs a Multi_proposer_proposer with a uniform distribution.
|
inline |
Constructs a Multi_proposer_proposer with the given proposers and their distribution.
|
inline |
Proposes new model.
See Mh_model_proposer concept for more information