explorer
Class ConfigurableSimulation

java.lang.Object
  extended by explorer.ConfigurableSimulation

public class ConfigurableSimulation
extends java.lang.Object

This class implementsa configurable entry point. The grid is created with walls on the perimeter. Forbidden cells, simple and advanced explorer are placed in a random way and the number is configurable

Author:
andreamonaldini

Constructor Summary
ConfigurableSimulation(int dimension, int forbiddenCells, int simpleN, int advancedN, java.lang.String theory, java.lang.String specFile, java.lang.String tcName)
           
 
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
 

Constructor Detail

ConfigurableSimulation

public ConfigurableSimulation(int dimension,
                              int forbiddenCells,
                              int simpleN,
                              int advancedN,
                              java.lang.String theory,
                              java.lang.String specFile,
                              java.lang.String tcName)
Method Detail

main

public static void main(java.lang.String[] args)
Starts a new Simulation

Parameters:
args - 1st: grid dimension; 2nd: number of forbidden cells; 3rd: number of simple explorers; 4th: number of advanced explorers; 5th: prolog theory file; 6th: ReSpect theory file; 7th: Tuple Centre Id