explorer
Class Simulation

java.lang.Object
  extended by explorer.Simulation

public class Simulation
extends java.lang.Object

Entry point for all the simulations

Author:
andreamonaldini

Constructor Summary
Simulation(int dimension, int[][] cells, CoordinateXY[] simpleExplorerCoordinates, int[] simpleExplorerDirections, CoordinateXY[] advancedExplorerCoordinates, java.lang.String theory, java.lang.String specFile, java.lang.String tcName)
          Creates a new simulation environment
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Simulation

public Simulation(int dimension,
                  int[][] cells,
                  CoordinateXY[] simpleExplorerCoordinates,
                  int[] simpleExplorerDirections,
                  CoordinateXY[] advancedExplorerCoordinates,
                  java.lang.String theory,
                  java.lang.String specFile,
                  java.lang.String tcName)
Creates a new simulation environment

Parameters:
dimension - The dimension (row or column) the grid.
cells - Cell Matrix: value in (ACCESSIBLE, FORBIDDEN, WALL)
simpleExplorerCoordinates - Array of CoordinateXY containing the Simple Explorer Agent's coordinates
simpleExplorerDirections - Array of directions (ExplorerAgent.NORT-EAST-SOUTH-WEST) for Simple Explorer Agents
advancedExplorerCoordinates - Array of CoordinateXY containing the Advanced Explorer Agent's coordinates
theory - Prolog theory for path planning
specFile - ReSpect specification tuples file.
tcName - Tuple centre Id.