README for Petri-Net Simulator PNS
=================================================

Running PNS:
------------
  - enter directory
  - 'xpns' 

        or   setenv XAPPLRESDIR $PWD/
	     pns     


Makefile:
---------
   - make pns
	compiles and links PNS using gcc.
				
   - make clean	
	removes all object and backup files
		
   - make cps "d=/temp"
	CoPy Source: copy all source files to a directory

   - make cpe "d=/temp"
	CoPy Executable: copy only important files 
   

Files:
------
    - pns
	program

    - pns.hlp
	help file

    - pns.shell
	Resource file contains informations about colour, keys ...
	
    - xpns
	Set XAPPLRESDIR and start pns


Examples:
---------
    - a.net
	3-2 Reduction

    - a1.net
	4-3 Reduction

    - add.net
	x = x + y

    - sub.net
	x >= y : x = x - y 
	x < y  : y = y - x

    - sub2.net
	x = x - y
	NEGATIV = 1   <=>   x-y < 0

    - mult.net
	z = x * y

    - rw.net
	Reader-Writer problem for 3 (static) processes

    - phil.net
	Hungry Philosophers problem








