Index of /~jjb/web/BOD
Name Last modified Size Description
jyposh directory README file
Last Modified 22 April 2008
Parent Directory -
jyposh.648.tgz 2008-04-24 11:17 2.4M
jyposh.651.zip 2008-11-25 14:27 1.7M
jyposh.640.zip 2008-03-24 22:36 1.0M
jyposh.567.zip 2007-11-16 08:55 1.0M
CTF-Simple2dt.unr 2005-07-19 09:40 849K
CTF-SimpleSteve.unr 2005-08-10 11:52 843K
TomHydeRobocupTeam.zip 2012-08-08 19:26 484K
FrankBinns-Screensho..> 2008-03-24 22:36 264K
lispBOD.zip 2005-08-15 12:55 150K
svn2.png 2008-05-01 01:11 80K
pydev-select1.png 2008-05-01 01:10 59K
pydev-select2.png 2008-05-01 01:10 52K
svn1.png 2008-05-01 01:11 48K
sheepdogJuly06.png 2006-07-30 17:35 44K
sposh.html 2008-04-01 15:40 24K
jyPOSH_Installation...> 2008-07-28 10:31 14K
abode bug-wish.html 2007-08-21 11:46 9.4K
sheep-dog.html 2008-03-24 22:41 9.0K
pyposh-UT.html 2008-09-08 22:38 8.7K
BOD-MASON.html 2008-04-24 11:25 6.7K
BOD-MASON-HOWTO.html 2007-08-21 11:45 5.7K
abode.html 2013-08-04 17:26 5.5K
grammar15May06.txt 2006-08-22 21:44 4.2K
grammar.txt 2006-08-22 21:38 4.2K
BOD-developer.html 2013-11-03 15:35 4.1K
grammar-2Apr06.txt 2006-04-02 16:55 3.4K
bod-background.html 2007-08-21 11:45 3.0K
AgeS02/ 2005-12-20 14:46 -
ABODE/ 2006-05-22 12:34 -
Design (BOD) is a way to develop AI systems. It requires a
modular behavior library in any OO language, and a version of POSH action
selection for that language. jyPOSH (formerly pyPOSH) is a
of POSH that runs in Python and Jython.
Note on python:
if you are using python, you now need to use python 2.4 at least
because of the logging. However, note that to maintain
compatability with jython, most features of even python 2.3 are not
Instructions for installing and using BOD and jyPOSH are on the web.
Please note that jyPOSH is open source & we are happy to have
additional help with development (including of
documentation). Email us for access to our SVN repository.
There are two ways to use jyPOSH, either with a GUI or from the command
line. The command line is more powerful, in that it allows you to
easily start multiple agents by specifying their parameters in an
initialisation file. The GUI just makes people happy.
To use any version of jyPOSH you need to add POSH/log4j-1.2.jar
to your Java
Classpath. Consult the documentation of your Java installation on how
to do this.
To get the GUI, run jython jyposh.py.
be able to hack from
there. However, the most significant behavior libraries we
distribute rely on other external software (e.g. the MASON simulation
environment or Unreal Tournament) for creating the
environment the BOD agents will run in. There is one simple demo,
demo, that is happy to run with just the OS as the environment
under linux, unix or mac OS X).
contains code that will run an agent without using the GUI.
If you are running under python instead of jython you must use
this. All of the options that could be set in the GUI are also
easily set in an init_agent
text file, which may be passed to launch.py as an option.
Run either python
launch.py --help or jython
launch.py --help for instructions, depending which
language you want to use.
indicates files that only matter if you are going to be using a MASON
behavior library. MASON is an
agent-based modelling toolkit. To use MASON, you need to set the
Java CLASSPATH to include platform_files/MASON/mason.jar.
Also, you must
before using MASON for the first
Files (in this folder)
- jyposh.py : main GUI file, running this launches the GUI.
- launch.py : main file -- allows launching BOD agents from the
command line. Has
about the same functionality as the GUI, but can be used with Python as
well. Running launch.py
--help describes options for controlling which agents are
- config.py: code that helps all the parts of jyPOSH to locate the
Boldface indicates directories that have code you will edit if you
create your own agents.
- library : the behavior libraries and POSH
script files. This directory contains all the files we expect you
to customize yourself. That is, all the files you create when you
create a new agent go here.
- POSH : files that implement POSH, including both the scheduled
and slip-stack POSH action selection
Files that are specific to certain environments. The MASON files reside
in this directory. If you want to run MASON simulations, please read platform_files/MASON/README.html,
which includes instructions for compiling some further java
classes. Also, do not forget to add platform_files/MASON/mason.jar
to the Java CLASSPATH.
A single behaviour library can support many different agents on a
single platform. The individual agents are defined by their POSH
scripts, which are found in a subdirectory called plans.
When using launch.py,
you can set the number and parameters of agents you run by editing the init_agent
script in that library's directory (or that you pass to launch.py as
Boldface indicates recommended
libraries. Documentation for these can be found linked on the AmonI
: the current Unreal Tournament library. Agents for playing
capture the flag, including both offensive and defensive goals and
play. Written mostly
Partington, based on Andy Kwong's poshbot (below).
Additional code by Steve
Couzens & Tristan Caulfield. Recent improvements on agent
performance and also updating to the new pyPOSH standards by Francis
Binns and Andrew Mansfield.
: a simple test library. Use this for simple
experiments with POSH. We use it to test changes to POSH engines.
: a BOD/MASON library demonstrating improved action selection using
flexible latching. This work was biomimetically inspired by
emotions and drives, and funded by the EPSRC. The code is written
by Philipp Rohlfshagen, starting from a base by Hagen Lehmann.
The research is documented in Rohlfshagen
& Bryson (2008).
- mason : some core files for creating
MASON libraries. Also contains a sheep/dog demo with the
deprecated scheduled verison of POSH (see sheepDogDemo for the current
version). Initially written
by Tristan Caulfield, substantially revised by Jan Drugowitsch.
- macaques : a
behaviour library that simulates the social interaction between a group
of monkeys using BOD/MASON. Code by Hagen Lehmann and Joanna Bryson,
- poshbot : an old behavior library for Unreal Tournament written
by Andy Kwong. This will not run with the current POSH, but we
leave it in place because it is documented by Andy Kwong's tech report
- sheepDogDemo: the
BOD/MASON library demo for social agent based modelling, showing sheep
dog agents. This is the current recommended
version based on SPOSH. Revised from the demo files in mason by
Joanna Bryson. There is a
(somewhat out of date) web page
& tutorial for the sheep/dog demo.
- API documentation will be there if you have followed the
instructions in doc/README.html
documents how agent_init files should
- launch.py: documents
how to start BOD agents. Can also be
read by running launch.py --help
necessary documentation and instructions for running MASON agents.
page authors: Joanna
Bryson, Jan Drugowitsch