Chapter 2 -- Immigration-Emigration Models

Chapter 3 -- Logistic Birth-Death Models

Chapter 4 -- Random Numbers and Visualization

Chapter 5 -- Two-Species Competition Model

Chapter 6 -- Programming Projects

Chapter 7 -- Foraging Model

Chapter 8 -- Maintenance of Gynodioecy

Chapter 9 -- Diffusion and Reactions

Chapter 10 -- Optimal Resource Allocation Schedules

Book Homepage

Will's Homepage

Simulating Ecological and Evolutionary Systems in C

Chapter 10 (Optimal Resource Allocation Schedules) program files


  • simpall.c is the simulation of plants with two hypothetical allocation schedules listed on pages 252-255, with results shown in figure 10.2 on page 257.
  • ga.c is the code for the genetic algorithm approach for dynamic optimization listed on pages 271-275, with results shown in figure 10.7 on page 276.
  • herb.c extends ga.c to incorporate herbivory, with results shown in figure 10.8b on page 279.
  • twosked.c extends ga.c to incorporate two allocation schedules, herbivory, and local reproduction. Results are shown in figures 10.8d and 10.9 on pages 279-280.
  • 63/11/28/00