Parallel PopGen Package
Sim_Model Namespace Reference

Namespace of functions for controlling GO_Fish simulations. More...

Classes

struct  bool_off
 functor: turns sampling and preserving off (for every generation except the final one which is always sampled) More...
 
struct  bool_on
 functor: turns sampling and preserving on (for every generation except the final one which is always sampled) More...
 
struct  bool_piecewise
 functor: returns the result of function f1 until generation inflection_point, then returns the result of function f2 More...
 
struct  bool_pulse
 functor: returns the result of function f_default except at generation pulse returns the result of function f_action More...
 
struct  demography_constant
 functor: single, constant population size (N individuals) across populations and over time More...
 
struct  demography_exponential_growth
 functor: models exponential growth of population size (individuals) over time More...
 
struct  demography_logistic_growth
 functor: models logistic growth of population size (individuals) over time More...
 
struct  demography_piecewise
 functor: demography function changes from d1 to d2 at generation inflection_point More...
 
struct  demography_population_specific
 functor: one population, pop, has a different, demography function, d_pop, all others have function, d More...
 
struct  demography_sine_wave
 functor: models population size (individuals) as a sine wave through time More...
 
struct  F_mu_h_constant
 functor: models parameter p as a constant across populations and over time More...
 
struct  F_mu_h_piecewise
 functor: parameter function changes from p1 to p2 at generation inflection_point More...
 
struct  F_mu_h_population_specific
 functor: one population, pop, has a different, parameter function, p_pop, all others have function p More...
 
struct  F_mu_h_sine_wave
 functor: models parameter as a sine wave through time More...
 
struct  migration_constant_directional
 functor: migration flows at rate m from pop1 to pop2 and function rest for all other migration rates More...
 
struct  migration_constant_equal
 functor: migration flows at rate m from pop i to pop j =/= i and 1-(num_pop-1)*m for i == j More...
 
struct  migration_piecewise
 functor: migration function changes from m1 to m2 at generation inflection_point More...
 
struct  selection_constant
 functor: models selection coefficient s as a constant across populations and over time More...
 
struct  selection_linear_frequency_dependent
 functor: models selection coefficient as linearly dependent on frequency More...
 
struct  selection_piecewise
 functor: selection function changes from s1 to s2 at generation inflection_point More...
 
struct  selection_population_specific
 functor: one population, pop, has a different, selection function, s_pop, all other have function s More...
 
struct  selection_sine_wave
 functor: models selection as a sine wave through time More...
 

Detailed Description

Namespace of functions for controlling GO_Fish simulations.

Functions for modeling selection, inbreeding, mutation, dominance, demography, migration across populations and over time as well as functions to preserve mutations in a generation and to sample time points in the simulation.

Use of these functions is optional as users can supply their own with the same given format, for details on how to write your own simulation functions, go to the Modules page, click on the simulation function group which describes the function you wish to write, and read its detailed description.

To use Sim_Mut functions and objects, include header file: go_fish.cuh