Skip to content

Presage/HelloWorld

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Presage2 - HelloWorld

This is a demonstration of the basics of running agents in Presage2. Agents move around randomly in a basic world logging other agents they see, and performing a simple 'hello world' message exchange with other agents in the network.

Running the simulation

# clone the source
git clone git://github.com/Presage/HelloWorld.git

# compile it
cd HelloWorld
mvn compile

# run with desired parameters
mvn exec:java -Dexec.mainClass=uk.ac.imperial.presage2.helloworld.HelloWorldSimulation -Dexec.args="uk.ac.imperial.presage2.helloworld.HelloWorldSimulation xSize=100 ySize=100 agentCount=10 finishTime=10"

This will run the simulation in a world of size 100x100 with 10 agents. The simulation will run for 10 time steps.

About

A multi-agent take on HelloWorld in Presage2.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages