Version 1 of an agent-based program modeling the spread of a non-fatal disease in beef cattle (Copyright 2013). The program accompanies Module 12.2, "Agents of Interaction: Steering a Dangerous Course," from textbook "Introduction to Computational Science: Modeling and Simulation for the Sciences," 2nd ed., by Angela B. Shiflet and George W. Shiflet, Princeton University Press.
Number of agents: 6
Number of methods: 0
Number of methods: 12
Procedure to initialize new calf with a random weight between 60 and 100 pounds, to establish the days sick to be 0 for an infected calf, and to establish various category counters
Number of rules: 2
IfProcedure to update numSusceptible, numInfected, numRecovered, cumulativeInfected, and numCattle after addition of a new beef cow
Number of rules: 4
IfCattle Driver of Simulation
Number of rules: 7
IfProcedure to advance an infected beef cow's illness, possibly to recovery, and determine if a susceptible cattle agent becomes sick
Number of rules: 3
IfCattle agent's behavior on a Farm tile
Number of rules: 1
IfCattle agent's behavior in moving from Farm tiles to SaleBarn tiles
Number of rules: 6
IfCattle agent's behavior when in sale barn for the first time
Number of rules: 2
IfProcedure for a cattle agent's random movement in a sale barn
Number of rules: 4
IfProcedure for a cattle agent's behavior in stocker
Number of rules: 3
IfCattle agent's behavior when in sale barn for the second time
Number of rules: 2
IfProcedure for a cattle agent's behavior in feedlot
Number of rules: 5
IfProcedure to adjust appropriate system variables when a beef cow is slaughtered
Number of rules: 3
IfNumber of methods: 1
Procedure to initialize a Farm agent possibly to have a Cattle agent on top
Number of rules: 1
IfNumber of methods: 0
Number of methods: 0
Number of methods: 0