Simulating Ecological and Evolutionary Systems in C

Author: Will Wilson  

Publisher: Cambridge University Press‎

Publication year: 2000

E-ISBN: 9780511825880

P-ISBN(Paperback): 9780521776585

Subject: Q14 Biological Ecology (Ecology)

Keyword: 生态学(生物生态学)

Language: ENG

Access to resources Favorite

Disclaimer: Any content in publications that violate the sovereignty, the constitution or regulations of the PRC is not accepted or approved by CNPIEC.

Simulating Ecological and Evolutionary Systems in C

Description

Computer simulations provide a powerful tool for understanding ecological and evolutionary systems. Simulating Ecological and Evolutionary Systems in C models a diverse range of biological processes and systems, including competition, foraging, predation, mating systems, and life-history optimization, by simulating large collections of interacting individuals. Using the widely available computer programming language C, the book starts with elementary programs modeling stochastic birth-death processes, slowly increasing programming complexity as the chapters progress. All the important features of C are covered, including arrays, files, pointers, and structures, within biologically motivated simulations. Although computer simulations of extremely complicated biological processes are released from rigid mathematical constraints, each of the simulations is also placed in the context of a mathematical formulation examined either analytically or numerically. Procedures covered include testing random number generators, producing PostScript files, root-finding, numerical integration and using the genetic algorithm.

Chapter

1.6 A Few Words about Compilers

1.7 The Personal Side of Programming

Chapter 2 Immigration-Emigration Models

2.1 Immigration and Emigration Processes

2.2 Deterministic Treatment

2.2.1 Discrete-Time Model

2.2.2 Continuous-Time Model

2.3 Immigration—Emigration Simulation Model

2.3.1 Code

2.3.2 Code Details

2.4 Getting the Program into the Computer

2.4*1 Basic Unix Commands

2.4.2 The vi Editor

2.5 Compiling the Birth-Death Program

2.6 Program Extensions

2.6.1 Code Changes

2.6.2 Simulation Results

2.7 Analytic Stochastic Immigration-Emigration Model

2.7.1 Mathematical Analysis

2.7.2 Comparison of Simulation and Analytic Models

2.8 Exercises

Chapter 3 Logistic Birth-Death Models

3.1 Origins of the Logistic Growth Function

3.2 Conceptual Vagueness of Logistic Growth

3.3 Analysis of Deterministic Model

3.4 Logistic Birth-Death Simulation Model

3.4.1 Code

3.4.2 Code Details

3.4-3 Preliminary Simulation Results

3.5 Analytic Stochastic Birth—Death Model

3.5.1 Mean Population Size

3.5.2 Variance of Population Fluctuations

3.5.3 Comparison of Simulation and Analytic Models

3.6 Review of Modeling Concepts

3.7 Exercises

Chapter 4 Random Numbers and Visualization

4.1 Pointer Variables

4.1.1 Variables and Memory Locations

4-1-2 Using Pointers

4.2 Basic Random Numbers

4.2.1 Random Walker Test

4.2.2 Code

4.2.3 Code Details

4-2.4 Random Walker Test Results

4.3 Visualization

4'3.1 PostScript Visualization Code

4.3.2 Code Details

4-3.3 Visualization Results

4.4 Nonuniformly Distributed Random Numbers

4.4.1 Exponentially Distributed Random Numbers

4-4-2 Normally Distributed Random Numbers

4.5 Exercises

Chapter 5 Two-Species Competition Model

5.1 Analytic Lotka-Volterra Competition Model

5.1.1 Model Interactions

5.1.2 Coexistence Conditions

5.2 Simulation Model of Lotka—Volterra Interactions

5.2.1 Code

5.2.2 Code Details

5.2.3 Nonspatial Simulation Results

5.2.4 Spatial Simulation Results

5.3 Analytic Model for the Spatial System

5.3.1 Model Equations

5.3.2 Code Alterations for a Numerical Solution

5.3.3 Numerical Results

5.4 Exercises

Chapter 6 Programming Projects

6.1 Metapopulation Dynamics

6.1.1 Problem Statement

6.1.2 Coding the Project

6.1.3 The Finished Product

6.1.4 Compiling, Debugging, and Running

6.2 Disease Dynamics

6.2.1 Problem Statement

6.2.2 Coding the Project

6.2.3 The Finished Product

6.2.4 Compiling, Debugging, and Running

6.3 Exercises

6.4 Projects

Chapter 7 Foraging Model

7.1 Simplistic Analytic Foraging Model

7.2 Optimal Residence Time

7.2.1 Root Finding Algorithm

7.2.2 Code

7.2.3 Code Details

7.2.4 Optimal Residence Time Results

7.3 Forager Simulation Model

7.3.1 Structure Variables

7.3.2 Code

7.3.3 Code Details

7.3.4 Simulation Results

7.4 Deterministic Size-Structured Patch Model

7.4' 1 Numerical Integration Code

7.4.2 Code Details

7.4'3 Size-structured Model Results

7.5 Extensions for Multiple Foragers

7.6 Exercises

Chapter 8 Maintenance of Gynodioecy

8.1 Population Dynamics of Females and Hermaphrodites

8.1.1 Model Formulation

8.1.2 Equilibrium Analysis

8.1.3 Runge-Kutta Numerical Integration

8.1.4 Code

8.1.5 Nonspatial Model Results

8.2 Pollen and Seed Dispersal in Space

8.2.1 Analytic Model Formulation

8.2.2 Simulation Model Formulation

8.2.3 Code

8.2.4 Code Details

8.2.5 Simulation Results

8.3 Exercises

Chapter 9 Diffusion and Reactions

9.1 Diffusion and the Dissolution of Pattern

9.1.1 Analytic Model of Diffusion

9.1.2 Simulation Model of Diffusing Organisms

9.1.3 Code

9.1.4 Diffusion Results

9.2 Diffusion-Limited Reactions

9.2.1 Analytic Annihilation Models

9.2.2 Simulation Code Modifications

9.2.3 Diffusion-limited Reaction Results

9.3 Spatial Predator-Prey Model

9.3.1 Analytic Lotka-Volterra Models

9.3.2 Simulation Code Modifications

9.3.3 Code Details

9.3.4 Simulation Results

9.4 Exercises

Chapter 10 Optimal Resource Allocation Schedules

10.1 Resource Allocation in Plants

10.2 Two Hypothetical Allocation Schedules

10.2.1 Simulation of Hypothetical Schedules

10.2.2 Code

10.2.3 Code Details

10.2.4 Simulation Results

10.3 Optimal Allocation Schedules

10.3.1 Static Optimization

10.3.2 Dynamic Optimization

10.4 Simulation of General Allocation Problem

10.4-1 Overview of Genetic Algorithms

10.4.2 Code

10.4.3 Code Details

10.4-4 Simulation Results

10.5 Extensions for Stochastic Environments

10.6 Exercises

Chapter 11 Epilogue

References

Index

The users who browse this book also browse