ndrio(n)							      ndrio(n)



1mNAME0m
       ndrio  -	conversion tool	for Petri nets and Time	Petri nets

       Part  of	 Tina  Toolbox	for analysis of	Petri nets and Time Petri nets
       (see also nd, tina, plan, struct, ktzio,	selt).


1mSYNOPSIS0m
       1mndrio 22m[-4mh24melp]
	     [-NET | -NDR | -PNML | -TPN]
	     [-net | -ndr | -pnml | -tpn | -pnt]
	     [-graphplace | -dot | -neato | -circo | -textify]
	     [infile] [outfile]	[errorfile]


1mDESCRIPTION0m
       ndrio converts Petri nets and Time Petri	nets between several,  graphic
       or textual, formats. ndrio handles delay	intervals asociated with tran-
       sitions,	and generalized	inhibitor and read (test) arcs.	  The  formats
       manipulated are the following:

       name	 file ext  description
       ------------------------------------------------------
       net	 .net	   tina	textual	format
       ndr	 .ndr	   tina	graphic	format (produced by nd)
       tpn	 .tpn	   tina	textual	scripts	format
       pnml	 .pnml		Petri Net Markup Language format
			   (with or without graphics)
       pnt	 .pnt	   INA format
			   (If the net is timed, the intervals
			    are	saved into a companion .tim file)


1mOPTIONS0m
       -4mh24melp Recalls options.


       1mInput format flags:0m


       -NET | -NDR | -PNML | -TPN
	      Specifies	 the  format  of the input net.	This flag is necessary
	      when the input net is read on standard input,  or	 read  from  a
	      file that	does not bear the expected extension. Default is -NET.


       1mOutput	format flags:0m


       -net | -ndr | -pnml | -tpn | -pnt
	      Specifies	the  format of the output  net.	This flag   is	neces-
	      sary when	the output net	is written on standard output, or into
	      a	file that does not bear	the expected extension.


       1mDrawing options:0m


       -graphplace | -dot | -neato | -circo

	      Specify a	placement filter for nodes. Necessary when  converting
	      from  a graphics-free format  into ndr.	Optional when convert-
	      ing  into	.pnml (graphics	information is only  generated if some
	      filter is	specified).  When  converting  from  a	 graphic  for-
	      mat,  the	 original  placement information is  always  retained,
	      whatever the tool	specified.


       1mTextifying option:0m


       -textify

	      Removes any graphics information when converting from .pnml into
	      .pnml.



       1mInput source:0m


       infile Where the	 net is	 read. The  input  format  is	determined  by
	      the file type, according to the table above. If absent or	speci-
	      fied by "-", the net is  read on standard	 input in the	format
	      specified	 by   the  input  flag.	 If  both an  infile and  some
	      input flag  are present,	then the format	defined	 by the	 input
	      flag supersedes  that determined	by the infile extension.


       1mOutput	destination:0m


       outfile
	      Where the	net is written.	The output format is determined	by the
	      file type, according  to the  table above. If  absent or	speci-
	      fied   by	"-", then the net is written on	standard output	in the
	      format specified by the output flag. If  both  an	  outfile  and
	      some  output  flag  are present, then the	format defined by  the
	      output flag supersedes that determined by	the outfile extension.


       1mErrors	destination:0m


       errorfile
	      Where error messages are written.	By default, errors are printed
	      on standard error.



1mFILES0m
       Files net.txt, ndr.txt,	tpn.txt,  pnml.txt  in	directory  doc/formats
       specify	the  syntax of	.net,  .ndr,  .tpn and	.pnml  net description
       files, respectively.



1mEXAMPLES0m
       ndrio abp.net abp.pnml
       ndrio abp.ndr abp.net
       ndrio -NDR -pnml	-neato < abp.ndr > abp.pnml
       ndrio abp.ndr -NET
       ndrio abp.ndr abp.pnt


1mSEE ALSO0m
       nd, tina, plan, struct, ktzio, selt


1mAUTHORS0m
       Bernard	  Berthomieu,	 Florent    Peres,    LAAS/CNRS,    2000-2010,
       {Bernard.Berthomieu|Florent.Peres}@laas.fr.




Tina Tools			Version	2.9.10			      ndrio(n)
