Quetzal-CoaTL
The Coalescence Template Library
Loading...
Searching...
No Matches
HudsonAlgorithm Class Reference

Public Member Functions

 HudsonAlgorithm ()
 Constructor.
 
void event ()
 ?
 
void recombination_event ()
 Choose a link uniformly and break it, resulting in one extra individual in the set of extant ancestors.
 

Constructor & Destructor Documentation

◆ HudsonAlgorithm()

HudsonAlgorithm::HudsonAlgorithm ( )
inline

Constructor.

Parameters
sample
Returns
?
Remarks
Implements the routine H1 in S1 Kelleher et al. 2016.

Member Function Documentation

◆ event()

void HudsonAlgorithm::event ( )
inline

?

Parameters
?
Returns
?
Remarks
Implements the routine H2 in S1 Kelleher et al. 2016.

◆ recombination_event()

void HudsonAlgorithm::recombination_event ( )
inline

Choose a link uniformly and break it, resulting in one extra individual in the set of extant ancestors.

Parameters
?
Returns
?
Remarks
Implements the algorithm R in S1 Kelleher et al. 2016.

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