Alternaria
fit cylinders and ellipsoids to fungus
PSF_beta_move Class Reference

#include <psf_moves.h>

Inheritance diagram for PSF_beta_move:
Collaboration diagram for PSF_beta_move:

List of all members.

Public Member Functions

 PSF_beta_move (const char *name, double prob=1.0) throw (jwscxx::base::Arg_error)
 Constructs a PSF_beta_move.
bool run (Sampler_move_parameters *params) throw (jwscxx::base::Exception)
 Runs this move and either accepts or rejects.
const std::ostringstream & get_info (Sampler_move_parameters *params)
 Returns information about the current state of the PSF_model::beta from the most recent run of this move.
const std::ostringstream & get_proposal_info (Sampler_move_parameters *params)
 Returns information about the current state of the proposed PSF_model::beta from the most recent run of this move.

Detailed Description

MCMC Sampler move that propose changes to PSF_model::beta.

Definition at line 143 of file psf_moves.h.


Constructor & Destructor Documentation

PSF_beta_move::PSF_beta_move ( const char *  name,
double  prob = 1.0 
) throw (jwscxx::base::Arg_error) [inline]

Constructs a PSF_beta_move.

Definition at line 148 of file psf_moves.h.


Member Function Documentation

bool PSF_beta_move::run ( Sampler_move_parameters params) throw (jwscxx::base::Exception) [virtual]

Runs this move and either accepts or rejects.

Parameters:
paramsParameters for the move.
Returns:
If the proposal is accepted, 1; otherwise 0.

Implements Sampler_move.

Definition at line 267 of file psf_moves.cpp.

const std::ostringstream & PSF_beta_move::get_info ( Sampler_move_parameters params) [virtual]

Returns information about the current state of the PSF_model::beta from the most recent run of this move.

Parameters:
paramsParameters for the move.
Returns:
Information about the PSF_model::beta.

Implements Sampler_move.

Definition at line 317 of file psf_moves.cpp.

const std::ostringstream & PSF_beta_move::get_proposal_info ( Sampler_move_parameters params) [virtual]

Returns information about the current state of the proposed PSF_model::beta from the most recent run of this move.

Parameters:
paramsParameters for the move.
Returns:
Information about the proposed PSF_model::beta.

Implements Sampler_move.

Definition at line 335 of file psf_moves.cpp.


The documentation for this class was generated from the following files: