Menu

#43 Set default weight to 1 when loading PNML files

PIPEv4.3.0
closed-fixed
nobody
None
5
2013-10-10
2013-04-18
No

When value tag in PNML file is not defined, default weight for default token should be 1.
I attached two files:

pipe_sample.xml - created in PIPE v4.2.1 (with defined token and value tags)
nkg-cnp-simple.pnml - created in Yasper (http://www.yasper.org/) with manually added token tag (but without it loading of this file crash).

After load nkg-cnp-simple.pnml token Default should be added automatically and weight of arcs should be set to Default,1.

Discussion

  • Michał Niedźwiecki

    Sample good PIPE file and sample PNML file created in Yasper.

     
  • Sarah Tattersall

    Hi I've migrated this project to GitHub.

    Please see the issue here. https://github.com/sarahtattersall/PIPEv4.3.0/issues/10

    I believe I've fixed it by adding a default value to the xml generator.
    Please let me know on GitHub if you have any further issues.

     
  • Sarah Tattersall

    • status: open --> closed-fixed
    • Group: --> PIPEv4.3.0
     

Log in to post a comment.

Auth0 Logo