Alternaria
fit cylinders and ellipsoids to fungus
|
#include <alternaria_moves.h>
Public Member Functions | |
Apical_hypha_birth_death_move (const char *birth_name, const char *death_name, double birth_prob=1.0, double death_prob=1.0) throw (jwscxx::base::Arg_error) | |
Constructs an Apical_hypha_birth_death_move. | |
bool | run_1 (Sampler_move_parameters *params) throw (jwscxx::base::Exception) |
Runs the birth jump move and either accepts or rejects. | |
bool | run_2 (Sampler_move_parameters *params) throw (jwscxx::base::Exception) |
Runs the death jump move and either accepts or rejects. |
MCMC Sampler move that proposes adding or removing an Apical_hypha in an Alternaria_model.
Definition at line 65 of file alternaria_moves.h.
Apical_hypha_birth_death_move::Apical_hypha_birth_death_move | ( | const char * | birth_name, |
const char * | death_name, | ||
double | birth_prob = 1.0 , |
||
double | death_prob = 1.0 |
||
) | throw (jwscxx::base::Arg_error) [inline] |
Constructs an Apical_hypha_birth_death_move.
Definition at line 71 of file alternaria_moves.h.
bool Apical_hypha_birth_death_move::run_1 | ( | Sampler_move_parameters * | params | ) | throw (jwscxx::base::Exception) [virtual] |
Runs the birth jump move and either accepts or rejects.
params | Parameters for the move. |
Implements Sampler_jump_move.
Definition at line 83 of file alternaria_moves.cpp.
bool Apical_hypha_birth_death_move::run_2 | ( | Sampler_move_parameters * | params | ) | throw (jwscxx::base::Exception) [virtual] |
Runs the death jump move and either accepts or rejects.
params | Parameters for the move. |
Implements Sampler_jump_move.
Definition at line 168 of file alternaria_moves.cpp.