Environmental Engineering Reference
In-Depth Information
Korb, K.B., and Nicholson, A.E. (2004). Bayesian Artificial Intelligence . Chapman and Hall
Boca Raton, Florida. A useful introduction to Bayesian Network modelling.
Mangel, M. (2006). The Theoretical Biologist's Toolbox: Quantitative Methods for Ecology and
Evolutionary Biology . Cambridge University Press, UK. Packs a huge amount in—including a
chapter on fisheries models. Quite advanced mathematically.
Morris, W.F., and Doak, D.F. (2002). Quantitative Conservation Biology: Theory and Practice of
Population Viability Analysis . Sinauer, Sunderland, MA. A comprehensive tool-box of tech-
niques for stochastic models.
Appendix
This contains some C code for a simple bio-economic model, our hunter example.
Explanatory comments are indicated by //. Because this is a very simple pro-
gramme, we haven't modularised it, but in a more complex programme you would
put the functions and the variable definitions into their own unit files to avoid
cluttering up the main file. In order to make this model work, all you would need
to do is to import this text into a suitable C compiler and run it. This model was
written in C within the Visual C
environment. Not all C compilers are quite
the same (they don't all have the built-in units to support standard functions).
If you have trouble running the code, it is most likely to be due to the use of a
different compiler.
//hunter program, to simulate village hunting
//these are built-in units that support standard functions
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <time.h>
//start program
void main(void)
{
//define constants
#define K 1000
//carrying capacity
#define r 0.2
//intrinsic rate of increase
#define P 105
//price
#define a 200
//const for cost calc
#define b 0.2
//const for cost calc
#define s 10
//cost SD
#define N1 500
//starting population size
#define Years 30
//run the model for 30 years
#define Hunters 200
//200 hunters
//define variables
float Pop[Years],Harvest[Years];
//population, harvest
float Prod,PrF,Cost,IndC,zval,B;
//productivity,costs,
random number,profit
int i,t;
//integers - hunter, year
Search WWH ::




Custom Search