~tapaal-workflow/tapaal/swlWorkFlow

« back to all changes in this revision

Viewing changes to src/dk/aau/cs/model/tapn/Weight.java

  • Committer: launchpad-janitor
  • Author(s): Jakob Taankvist
  • Date: 2012-08-22 09:10:26 UTC
  • mfrom: (730.1.1 constantsInWeightsBug)
  • Revision ID: tapaal@cs.aau.dk-20120822091026-vmdwu3tz93hui3qi
Fixes a bug that when saving a net with weights the file got corrupted by TAPAAL Contributors review by Jiri Srba approved by Jiri Srba, Kenneth Yrke Jørgensen

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
        public abstract int value();
5
5
        public abstract Weight copy();
6
6
        public abstract String toString(boolean displayConstantnames);
 
7
        public abstract String nameForSaving(boolean writeConstantNames);
7
8
        
8
9
        public static Weight parseWeight(String attribute, ConstantStore constants) {
9
10
                Weight weight;