explorer
Class Simulation
java.lang.Object
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 |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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 coordinatessimpleExplorerDirections
- Array of directions (ExplorerAgent.NORT-EAST-SOUTH-WEST) for Simple Explorer AgentsadvancedExplorerCoordinates
- Array of CoordinateXY containing the Advanced Explorer Agent's coordinatestheory
- Prolog theory for path planningspecFile
- ReSpect specification tuples file.tcName
- Tuple centre Id.