Alternaria
fit cylinders and ellipsoids to fungus
Spore_transition_apical_move Class Reference

#include <alternaria_moves.h>

Inheritance diagram for Spore_transition_apical_move:
Collaboration diagram for Spore_transition_apical_move:

List of all members.

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.

Detailed Description

MCMC Sampler move that proposes transitioning a Spore to an Apical_hypha or vise versa.

Definition at line 164 of file alternaria_moves.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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 ------------------------

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

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.

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

Implements Sampler_jump_move.

Definition at line 529 of file alternaria_moves.cpp.


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