Alternaria
fit cylinders and ellipsoids to fungus
|
#include <alternaria_moves.h>
Public Member Functions | |
Structure_opacity_move (const char *name, double prob=1.0) throw (jwscxx::base::Arg_error) | |
Constructs an Structure_opacity_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 Structure opacity from the most recent run of this move. | |
const std::ostringstream & | get_proposal_info (Sampler_move_parameters *params) |
Returns information about the state of the proposed Structure opacity from the most recent run of this move. |
MCMC Sampler move that proposes changing the opacity of a random Structure.
Definition at line 561 of file alternaria_moves.h.
Structure_opacity_move::Structure_opacity_move | ( | const char * | name, |
double | prob = 1.0 |
||
) | throw (jwscxx::base::Arg_error) [inline] |
Constructs an Structure_opacity_move.
Definition at line 566 of file alternaria_moves.h.
bool Structure_opacity_move::run | ( | Sampler_move_parameters * | params | ) | throw (jwscxx::base::Exception) [virtual] |
Runs this move and either accepts or rejects.
params | Parameters for the move. |
Implements Sampler_move.
Definition at line 3077 of file alternaria_moves.cpp.
const std::ostringstream & Structure_opacity_move::get_info | ( | Sampler_move_parameters * | params | ) | [virtual] |
Returns information about the current state of the Structure opacity from the most recent run of this move.
params | Parameters for the move. |
Implements Sampler_move.
Definition at line 3140 of file alternaria_moves.cpp.
const std::ostringstream & Structure_opacity_move::get_proposal_info | ( | Sampler_move_parameters * | params | ) | [virtual] |
Returns information about the state of the proposed Structure opacity from the most recent run of this move.
params | Parameters for the move. |
Implements Sampler_move.
Definition at line 3155 of file alternaria_moves.cpp.