The Hawks and Doves Simulation

Contents


Introduction

This page contains a description of how to use the Java simulation of the Hawks and Doves game. This game was explained in detail on a previous page; you will not get much out of this simulation unless you already thoroughly understand the Hawks and Doves game.

Computer simulations are useful in that they allow you:

However, it cannot be emphasized too strongly that simply playing with simulation without understanding what it does and without relating the inputs and outputs to some biologically meaningful situation is largely, if not entirely, a fruitless exercise.

Back to the top of this frame


What the Simulation Does:

The material below will give you an overview of the simulation. Please take the time to read it so that you have some basic familiarity with what it does and how it works.

When you launch the simulation a panel will appear like this one:

At the bottom of the panel are two buttons:

Note -- If you are using the Applet (web-based) version, this first screen must remain opened the entire time you use the simulation. Closing it will close the simulation

The set-up window will allow you to alter the payoffs by changing the benefits and costs to the Hawk and Dove strategies. You will not be able to change the ways the payoffs to the strategies are calculated, you can only change the parameters used to make these calculations.

Here's a brief outline of the set-up screen:

When you first run the simulation at any session, the text fields will contain default values (shown above), which are the same numbers we used when we considered the Hawks and Doves game. However, you can change any of these values by simply dragging the mouse across them and then typing in the new value, or you can position the insertion point and use your delete key.

Notice that there are two graphs with two plots on each

 If you want to review the concepts of fitness and frequency and especially if you want see an example of how the "evolve" graph is calculated, press here.

Below the graphs, there is a text message that will tell you the number of generations required to reach a new equilibrium, if at all. Please note that biologically-speaking equilibrium would probably arrive at a different, earlier number of generations. The program does not assign equilibrium until the frequency of H remains constant to 38 places for two successive generations!

Back to the top of this frame


Differences Between the Application and Simulation

There are few differences between the stand-alone application and the web-based applet. Here they are:

Back to the top of this frame


Questions to Address and Things to Try

 ! Try to answer all of the questions below. Discussion material is provided for some of the questions (follow the link after the question but please try to answer the question first). If you have trouble answering other questions, ask about them in class.

 

Back to the top of this frame


Press here to run the Hawks and Doves Simulation


Go to:

 Copyright © 1999 by Kenneth N. Prestwich
College of the Holy Cross, Worcester, MA USA 01610
email: kprestwi@holycross.edu

About Fair Use of these materials

Last modified 2 - 22 - 99