Alternaria
fit cylinders and ellipsoids to fungus
|
#include <alternaria_moves.h>
Public Member Functions | |
Lateral_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 a Lateral_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 a Lateral_hypha in an Alternaria_model.
Definition at line 98 of file alternaria_moves.h.
Lateral_hypha_birth_death_move::Lateral_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 a Lateral_hypha_birth_death_move.
Definition at line 104 of file alternaria_moves.h.
bool Lateral_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 1680 of file alternaria_moves.cpp.
bool Lateral_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 1763 of file alternaria_moves.cpp.