Menu

Tree [10f3b7] master /
 History

HTTPS access


File Date Author Commit
 examples 2013-11-15 issam issam [10f3b7] Initial commit
 exported 2013-11-15 issam issam [10f3b7] Initial commit
 images 2013-11-15 issam issam [10f3b7] Initial commit
 .directory 2013-11-15 issam issam [10f3b7] Initial commit
 Makefile 2013-11-15 issam issam [10f3b7] Initial commit
 README 2013-11-15 issam issam [10f3b7] Initial commit
 arc.cpp 2013-11-15 issam issam [10f3b7] Initial commit
 arc.h 2013-11-15 issam issam [10f3b7] Initial commit
 arceditdialog.cpp 2013-11-15 issam issam [10f3b7] Initial commit
 arceditdialog.h 2013-11-15 issam issam [10f3b7] Initial commit
 commands.cpp 2013-11-15 issam issam [10f3b7] Initial commit
 commands.h 2013-11-15 issam issam [10f3b7] Initial commit
 defs.h 2013-11-15 issam issam [10f3b7] Initial commit
 dockwidget.cpp 2013-11-15 issam issam [10f3b7] Initial commit
 dockwidget.h 2013-11-15 issam issam [10f3b7] Initial commit
 graph.dot 2013-11-15 issam issam [10f3b7] Initial commit
 graphdock.cpp 2013-11-15 issam issam [10f3b7] Initial commit
 graphdock.h 2013-11-15 issam issam [10f3b7] Initial commit
 graphedge.cpp 2013-11-15 issam issam [10f3b7] Initial commit
 graphedge.h 2013-11-15 issam issam [10f3b7] Initial commit
 graphgenerator.cpp 2013-11-15 issam issam [10f3b7] Initial commit
 graphgenerator.h 2013-11-15 issam issam [10f3b7] Initial commit
 graphnode.cpp 2013-11-15 issam issam [10f3b7] Initial commit
 graphnode.h 2013-11-15 issam issam [10f3b7] Initial commit
 graphvisualizer.cpp 2013-11-15 issam issam [10f3b7] Initial commit
 graphvisualizer.h 2013-11-15 issam issam [10f3b7] Initial commit
 main.cpp 2013-11-15 issam issam [10f3b7] Initial commit
 mainwindow.cpp 2013-11-15 issam issam [10f3b7] Initial commit
 mainwindow.h 2013-11-15 issam issam [10f3b7] Initial commit
 messagehandler.cpp 2013-11-15 issam issam [10f3b7] Initial commit
 messagehandler.h 2013-11-15 issam issam [10f3b7] Initial commit
 place.cpp 2013-11-15 issam issam [10f3b7] Initial commit
 place.h 2013-11-15 issam issam [10f3b7] Initial commit
 placeeditdialog.cpp 2013-11-15 issam issam [10f3b7] Initial commit
 placeeditdialog.h 2013-11-15 issam issam [10f3b7] Initial commit
 ptnet 2013-11-15 issam issam [10f3b7] Initial commit
 ptnet.pro 2013-11-15 issam issam [10f3b7] Initial commit
 ptnscene.cpp 2013-11-15 issam issam [10f3b7] Initial commit
 ptnscene.h 2013-11-15 issam issam [10f3b7] Initial commit
 ptntab.cpp 2013-11-15 issam issam [10f3b7] Initial commit
 ptntab.h 2013-11-15 issam issam [10f3b7] Initial commit
 rectangle.cpp 2013-11-15 issam issam [10f3b7] Initial commit
 rectangle.h 2013-11-15 issam issam [10f3b7] Initial commit
 resources.qrc 2013-11-15 issam issam [10f3b7] Initial commit
 tabwidget.cpp 2013-11-15 issam issam [10f3b7] Initial commit
 tabwidget.h 2013-11-15 issam issam [10f3b7] Initial commit
 toolbar.cpp 2013-11-15 issam issam [10f3b7] Initial commit
 toolbar.h 2013-11-15 issam issam [10f3b7] Initial commit
 transition.cpp 2013-11-15 issam issam [10f3b7] Initial commit
 transition.h 2013-11-15 issam issam [10f3b7] Initial commit
 transitioneditdialog.cpp 2013-11-15 issam issam [10f3b7] Initial commit
 transitioneditdialog.h 2013-11-15 issam issam [10f3b7] Initial commit
 xmlparser.cpp 2013-11-15 issam issam [10f3b7] Initial commit
 xmlparser.h 2013-11-15 issam issam [10f3b7] Initial commit
 xmlwriter.cpp 2013-11-15 issam issam [10f3b7] Initial commit
 xmlwriter.h 2013-11-15 issam issam [10f3b7] Initial commit

Read Me

**  PTNET Editor
**    A place/transition Net EDITOR
**
**    License: GPLv2  http://www.gnu.org/licenses/gpl-2.0.html
**
**   (C) 2013 Issam Abdallah  (iabdallah@yandex.com)
**
**************************************************************

The application has been developed and tested under the 
GNU/Linux OpenSUSE 12.3.

I. Compile the application
==========================

The application is based on Qt 4.8.4 and it uses:

1. the boost graph library (BGL) to construct the coverability graph 
2. the GraphViz library to layout the graph.

To compile the source code you have to install the two latter
libraries.

II. PNML
=========

To open and validate PNML documents using the applicaton proceed as follow:

1. Download the PNML grammar from: http://www.pnml.org/grammar.php. 
2. To convert the RELAX NG files of the grammar to XML schemas use Trang
3. Download Trang from: http://code.google.com/p/jing-trang/downloads/list. 
4. In the directory /home/~Download/Trang, create 2 folders and name them : "rng" and "xsd".
5. copy the files : "ptnet.rng", "conventions.rng", "anyElement.rng" and "pnmlcoremodel.rng" 
from the PNML grammar directory to the "Trang/rng" directory.  
6. open a terminal in "/home/~Download/Trang" directory.  
7. use the following command to convert RNG to XSD:  java -jar trang.jar -I rng -O xsd rng/ptnet.rng xsd/ptnet.xsd  
8. Copy the 4 generated xsd files ("ptnet.rng", "conventions.rng", "anyElement.rng" and "pnmlcoremodel.rng")
to the directory "ptnet/schemas".
9. Open the file "anyElement.xsd" and replace the tag:

   <xs:group name="anyElement">
     <xs:sequence>
	<xs:any processContents="skip"/>
     </xs:sequence>
   </xs:group>

By the following:

   <xs:group name="anyElement">
    <xs:sequence>
    <xs:choice>
      <xs:element name="placeCapacity" >
	  <xs:complexType>
	     <xs:attribute name="capacity" type="xs:positiveInteger"/>
  	  </xs:complexType>
      </xs:element>	
      <xs:element name="rotation">
	  <xs:complexType>
	     <xs:attribute name="degree" type="xs:decimal"/>
  	  </xs:complexType>
      </xs:element>
    </xs:choice>
    </xs:sequence>
  </xs:group>

Enjoy :) 

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.