BIE::RunOneSimulation Class Reference

Simulate the posterior defined Simulation instance. More...

#include <RunOneSimulation.h>

Inheritance diagram for BIE::RunOneSimulation:
Collaboration diagram for BIE::RunOneSimulation:

List of all members.

Public Member Functions

 RunOneSimulation (int nsteps, double wscale, Ensemble *sstat, MixturePrior *prior, Simulation *sim)
 Constructor.
 RunOneSimulation ()
 Null constructor.
 ~RunOneSimulation ()
 Destructor.
void Run ()
 Run the actual simulation (without threads).
void Resume ()
 Resume restored simulation (without threads).
void ResumeLog ()
 Rollback state log file on resume.
void SetTessTool (TessToolSender *tt)
 Define a TessTool commuincator for this simulation.
void SampleNext ()
 Flag a TessTool sample from the running simulation.
void SwitchOnCLI ()
 Return control to the CLI.
void SetNewSteps (int n)
 Set a new number of steps for this simulation (e.g.
virtual void SuspendSimulation ()
 Request that the running simulation be suspended.
virtual void ResumeSimulation ()
 Resume the suspended simulation.
virtual void SetAutoTessTool (int freq)
 Request TessTool updates every.

Friends

class boost::serialization::access


Detailed Description

Simulate the posterior defined Simulation instance.

The posterior will be returned in the Ensemble instance.


Constructor & Destructor Documentation

BIE::RunOneSimulation::RunOneSimulation ( int  nsteps,
double  wscale,
Ensemble sstat,
MixturePrior prior,
Simulation sim 
)

Constructor.

Parameters:
nsteps is the maximum number of steps for thsi simulation
wscale is the PostMixturePrior::width_factor
sstat is the instance of an Ensemble to hold and process the posterior sample
sim is the simulation method for this simulation


Member Function Documentation

void BIE::RunOneSimulation::SetNewSteps ( int  n  )  [inline]

Set a new number of steps for this simulation (e.g.

to continue from a checkpoint after the maximum number of steps had been reached)

virtual void BIE::RunOneSimulation::SetAutoTessTool ( int  freq  )  [virtual]

Request TessTool updates every.

Parameters:
freq iterations


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 doxygen