BIE
Overview
Quick Start
Theoretical overview
Available methods
Parallel chains
Computation engine
Command Line Interface
Graphical User Interface
Assigning Output
Visualization tool
Data handling
Software technology
Parallel debugging
Results to date
Recent developments
Links
User guide
Future features
Project goals
Project Team
Copyright and license
|
BIE::TemperedSimulation Class ReferenceImplements Tempered Transitions MCMC method proposed by Radford Neal.
More...
#include <TemperedSimulation.h>
List of all members.
|
Public Member Functions |
|
virtual | ~TemperedSimulation () |
| | Destructor.
|
|
virtual void | Reinitialize (MHWidth *width, MixturePrior *mp) |
| | Reinitialize with new class instances.
|
|
void | SetNinter (int N) |
| | Set/change the number of interations per temperature level.
|
|
| | TemperedSimulation (int max, int ndim, int minmc_p, double maxT, MHWidth *width, BaseDataTree *d, Model *m, Integration *i, Converge *c, MixturePrior *mp, LikelihoodComputation *l, MCAlgorithm *mca) |
| | Constructor.
|
|
| TemperedSimulation (int max, int ndim, int minmc_p, double maxT, MHWidth *width, BaseDataTree *d, Model *m, Integration *i, Converge *c, MixturePrior *mp, LikelihoodComputation *l, MCAlgorithm *mca, Simulation *last) |
| | Multiple-level constructor.
|
|
| TemperedSimulation () |
| | Null constructor.
|
|
|
virtual void | PrintStepDiagnostic () |
| | override of Simulation method to provide diagnostics specific to temperedsimulation
|
|
int | GetAcceptance (void) |
| | Number of states at base temperature level sampled so far.
|
|
int | GetSwap (void) |
| | Number of tempered transitions accepted so far.
|
|
void | GetLastCycle (double &u, double &d) |
| | Return partition function from heating and cooling transitions.
|
| virtual void | PrintStateDiagnostic () |
| | override of Simulation method to provide state specific diagnostics.
|
|
vector< double > | GetMixstat (void) |
| | Return vector with fraction of acceptencies at each level of tempered states chain.
|
Static Public Attributes |
|
|
static int | Ninter |
| | Number of mixing steps between tempering (default 20).
|
|
static bool | use_tempering |
| | Use tempered states transition MCMC (default true).
|
|
static double | tpow |
| | Scale factor $T^{tpow}$ for proposal function.
|
|
static int | minmc |
| | Minimum number of temperature states.
|
|
static int | ITMAX |
| | Maximum number of tries to find a good initial state at a new level.
|
Protected Member Functions |
|
virtual void | MCMethod () |
| | Execute the Markov Chain algorithm.
|
|
void | compute_proposal_state (int k) |
| | Compute a proposal for the kth chain.
|
Protected Attributes |
|
Uniform * | unit |
| | Unit interval variates.
|
|
|
double | MaxT |
| | Config parameters.
|
|
MHWidth * | width |
|
|
vector< double > | beta |
| | State variables.
|
|
vector< double > | factor |
|
vector< int > | mstat0 |
|
vector< int > | mstat1 |
|
int | Ntot |
|
|
int | accnum |
| | Convergence check.
|
|
int | swapnum |
|
double | up |
|
double | down |
|
double | upM |
|
double | downM |
|
int | updownNum |
Friends |
|
class | boost::serialization::access |
Detailed Description
Implements Tempered Transitions MCMC method proposed by Radford Neal.
Constructor & Destructor Documentation
| BIE::TemperedSimulation::TemperedSimulation |
( |
int |
max, |
|
|
int |
ndim, |
|
|
int |
minmc_p, |
|
|
double |
maxT, |
|
|
MHWidth * |
width, |
|
|
BaseDataTree * |
d, |
|
|
Model * |
m, |
|
|
Integration * |
i, |
|
|
Converge * |
c, |
|
|
MixturePrior * |
mp, |
|
|
LikelihoodComputation * |
l, |
|
|
MCAlgorithm * |
mca | |
|
) |
| | |
Constructor.
Initial constructor
Member Function Documentation
| virtual void BIE::TemperedSimulation::PrintStateDiagnostic |
( |
|
) |
[virtual] |
override of Simulation method to provide state specific diagnostics.
Here, the method provides mixing statistics.
Reimplemented from BIE::Simulation.
The documentation for this class was generated from the following file:
Send suggestions, questions, and feedback to WEINBERG at ASTRO dot UMASS dot EDU.
Documentation generated at Fri Mar 26 00:35:13 2010 by
|