###############################################################################
Advanced RTI System, ARTÌS			http://pads.cs.unibo.it
###############################################################################

In this directory you will find a very simple simulation model example. 
The wireless.c example models a set of wireless devices moving in a 
toroidal 2D space. The interactions between them are based on proximity.
The used synchronization algorithm is based on time-steps (timestepped).
This example is based on the ARTÌS APIs and does not use any GAIA/GAIA+ 
feature.

-------------------------------------------------------------------------------
SOURCE CODE COMPILATION:

Fist of all, it is necessary to compile the example source code, this can
be done using the provided Makefile (execute the "make" command in the 
WIRELESS directory). In case of errors, please check carefully the missing
libraries or version incompatibilities.
-------------------------------------------------------------------------------

EXECUTION:

Some scripts are provided for the simulator's execution, each one has a 
slightly different syntax and goal.

run
		executes a single run of the simulation, it blocks until
		all LPs have finished 

		mandatory input parameters = #LP #SMH
		#LP = 	number of Logical Processes to simulate
		#SMH = 	number of wireless devices (nodes) to simulate in 
			each LP

		example: ./run 2 100
			it runs a parallel simulation composed of 2 LPs
			in which each LP models 100 nodes

