Scripts in C for simulating the wave of gene advance under diverse systems of mating
Data files
Jun 23, 2021 version files 40.56 KB
-
program1.c
-
program2.c
-
program3.c
-
program4.c
Abstract
This dataset includes 4 programs coded in C for simulating the wave of gene advance under diverse systems of mating. Program 1 was used for simulation under unifor density based on Equations (1) and (2) in the main text. Program 2 was used for simulation under uniform density based on Equations (5)-(11). Program 3 was used for Monte Carlo (MC) simulation under uniform density. Program 4 was used for MC simulation under logistic growth model. Variable and parameter symbols within these programs are self-explanatory. You may simulate different cases by changing parameter settings.