The source code is copyright 2005 The University of Bristol, and is made available for non-commercial research purposes under the terms of the GNU General Public Licence (http://www.gnu.org/copyleft/gpl.html)
The source code is organised as follows:
  awk - simple awk scripts for manipulating the output from the computer experiment
  java
    sisebia
      ahha - the AH-HA algorithm (requires Repast Java library - http://repast.sourceforge.net/)
      nests - the computer experiment described in Marshall et al. (2005) (requires Repast Java library - http://repast.sourceforge.net/)
    stats
      ahha - statistical analysis tool for output from the computer experiment
  matlab - Matlab functions to visualise the analysed results from the computer experiment

To reproduce the analysis presented in Marshall et al. (2005), do the following:
Java:
  Nests true noise_and_cost_sensitivity.pf paper_results.csv
  Analysis false paper_results.csv 6240 1100 3 5 26 11 analysis.csv
Matlab:
  visualise_ahha_performance('analysis.csv',11,'AH-HA','Pref Switch Prob','Nest Quality StdDev','Assessment Delay')

References
----------
Marshall, J. A. R., Dornhaus, A., Franks, N. R. & Kovacs, T.. (2005) Noise, cost and speed-accuracy trade-offs: decision making in a decentralized system. Journal of the Royal Society: Interface