explorer
Class SimpleSimulation
java.lang.Object
explorer.SimpleSimulation
public class SimpleSimulation
- extends java.lang.Object
This class implements a simple simulation entry point.
The simulation grid is 8x8 with walls in the perimeter and 3 forbidden cells at (1,3), (4,2), (3,4).
There are three agents on the grid: two simple explorers and two advanced explorers.
SimpleExplorerAgents#1: at (3,1) - direction WEST.
SimpleExplorerAgent#2: at (5,1) - direction EAST.
AdvancedExplorerAgent#1: at (4,1).
AdvancedExplorerAgent#2: at (1,6).
The default TupleCentreId used in the simulation is "explorerTC" but the name can be specified as parameter.
NB: the two text files must be in the same directory of the jar file if the jar version is used.
- Author:
- andreamonaldini
Method Summary |
static void |
main(java.lang.String[] args)
Starts a new Simulation |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleSimulation
public SimpleSimulation()
main
public static void main(java.lang.String[] args)
- Starts a new Simulation
- Parameters:
args
- 1st arg: prolog theory file; 2nd arg: ReSpect theory file; 3rd arg: Tuple Centre Id