Update of /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv26409/src/net/sourceforge/bprocessor/model
Modified Files:
Space.java
Log Message:
starting to implement B-nets
Index: Space.java
===================================================================
RCS file: /cvsroot/bprocessor/model/src/net/sourceforge/bprocessor/model/Space.java,v
retrieving revision 1.95
retrieving revision 1.96
diff -C2 -d -r1.95 -r1.96
*** Space.java 6 Nov 2006 14:04:27 -0000 1.95
--- Space.java 6 Nov 2006 16:19:03 -0000 1.96
***************
*** 56,59 ****
--- 56,62 ----
public static final int PART_LEVEL = 5;
+ /** B-net level */
+ public static final int NET_LEVEL = 6;
+
/** part Functional Type */
private boolean isUnion = false;
***************
*** 305,309 ****
}
!
/**
--- 308,317 ----
}
! /**
! * pop transformation
! */
! public void popTransform() {
! this.transform.pop();
! }
/**
***************
*** 592,595 ****
--- 600,606 ----
}
edges.put(id, edge);
+ if (level == NET_LEVEL) {
+ edge.setStrippled(true);
+ }
edge.setOwner(this);
} else {
***************
*** 1493,1500 ****
res = res.concat("Part");
break;
}
if (isUnion()) {
res = res.concat("(Union)");
! }
return res;
}
--- 1504,1514 ----
res = res.concat("Part");
break;
+ case NET_LEVEL:
+ res = "B-net";
+ break;
}
if (isUnion()) {
res = res.concat("(Union)");
! }
return res;
}
|