Alternaria
fit cylinders and ellipsoids to fungus
|
#include <alternaria_moves.h>
Public Member Functions | |
Spore_transition_apical_move (const char *apical_to_spore_name, const char *spore_to_apical_name, double apical_to_spore_prob=1.0, double spore_to_apical_prob=1.0) throw (jwscxx::base::Arg_error) | |
Constructs a Spore_transition_apical_move. | |
bool | run_1 (Sampler_move_parameters *params) throw (jwscxx::base::Exception) |
Runs the apical-to-spore jump move and either accepts or rejects. | |
bool | run_2 (Sampler_move_parameters *params) throw (jwscxx::base::Exception) |
Runs the spore-to-apical jump move and either accepts or rejects. |
MCMC Sampler move that proposes transitioning a Spore to an Apical_hypha or vise versa.
Definition at line 164 of file alternaria_moves.h.
Spore_transition_apical_move::Spore_transition_apical_move | ( | const char * | apical_to_spore_name, |
const char * | spore_to_apical_name, | ||
double | apical_to_spore_prob = 1.0 , |
||
double | spore_to_apical_prob = 1.0 |
||
) | throw (jwscxx::base::Arg_error) [inline] |
Constructs a Spore_transition_apical_move.
Definition at line 170 of file alternaria_moves.h.
bool Spore_transition_apical_move::run_1 | ( | Sampler_move_parameters * | params | ) | throw (jwscxx::base::Exception) [virtual] |
Runs the apical-to-spore jump move and either accepts or rejects.
========================================================================= ----------------- Spore_transition_apical_move ------------------------
params | Parameters for the move. |
Implements Sampler_jump_move.
Definition at line 439 of file alternaria_moves.cpp.
bool Spore_transition_apical_move::run_2 | ( | Sampler_move_parameters * | params | ) | throw (jwscxx::base::Exception) [virtual] |
Runs the spore-to-apical jump move and either accepts or rejects.
params | Parameters for the move. |
Implements Sampler_jump_move.
Definition at line 529 of file alternaria_moves.cpp.