Communication Nets within Nets
figure 1: nested petri net containing channels via inscriptions
in figure 1 petri net shown containing token petri net in place „a“. token net can move around place „a“ place „b“ , firing of transitions of outer net. channel inscriptions @ transitions behave call of method, resulting in synchronised firing of calling transition in outer net [e.g. labelled x:forth()] , called transition [e.g. labelled by :forth()] in token net. variable „x“ @ arrow bound token net in place connected arrow. brackets may contain parameters passed. example simple reference , value semantics coincide.
Comments
Post a Comment