A toolkit for working with phylogenetic data.
v0.18.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
SimulatorProximalLengthDistribution Class Reference

#include <genesis/placement/simulator/distributions.hpp>

Detailed Description

Definition at line 296 of file distributions.hpp.

Public Member Functions

 SimulatorProximalLengthDistribution ()=default
 
 SimulatorProximalLengthDistribution (SimulatorProximalLengthDistribution const &)=default
 
 SimulatorProximalLengthDistribution (SimulatorProximalLengthDistribution &&)=default
 
 ~SimulatorProximalLengthDistribution ()=default
 
double generate (PlacementTreeEdge const &edge)
 Return a randomly chosen position on an edge. More...
 
SimulatorProximalLengthDistributionoperator= (SimulatorProximalLengthDistribution const &)=default
 
SimulatorProximalLengthDistributionoperator= (SimulatorProximalLengthDistribution &&)=default
 
void prepare (Sample const &sample)
 Prepare the distribution for usage. Needs to be called before generate(). More...
 

Constructor & Destructor Documentation

Member Function Documentation

double generate ( PlacementTreeEdge const &  edge)
inline

Return a randomly chosen position on an edge.

Definition at line 329 of file distributions.hpp.

void prepare ( Sample const &  sample)
inline

Prepare the distribution for usage. Needs to be called before generate().

Definition at line 320 of file distributions.hpp.


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