|
@@ -6,23 +6,16 @@ RAM_PN_DR annotate {
|
|
|
{Contains} Success success {}
|
|
|
{Contains} ForAll copy_transitions {
|
|
|
LHS {
|
|
|
- Pre_PetriNets_Runtime_Transition {
|
|
|
+ Pre_PetriNets_Runtime/Transition {
|
|
|
label = "0"
|
|
|
}
|
|
|
}
|
|
|
RHS {
|
|
|
- Post_PetriNets_Runtime_Transition ct1 {
|
|
|
+ Post_PetriNets_Runtime/Transition ct1 {
|
|
|
label = "0"
|
|
|
}
|
|
|
- Post_PetriNets_Transition ct2 {
|
|
|
+ Post_PetriNets/Transition ct2 {
|
|
|
label = "1"
|
|
|
- action = $
|
|
|
- include "primitives.alh"
|
|
|
- include "modelling.alh"
|
|
|
- Void function action(host_model : Element, name : String, mapping : Element):
|
|
|
- instantiate_attribute(host_model, name, "executing", False)
|
|
|
- return!
|
|
|
- $
|
|
|
}
|
|
|
Post_R2D_TransitionLink (ct1, ct2){
|
|
|
label = "2"
|
|
@@ -31,15 +24,15 @@ RAM_PN_DR annotate {
|
|
|
}
|
|
|
{Contains} ForAll copy_places {
|
|
|
LHS {
|
|
|
- Pre_PetriNets_Runtime_Place {
|
|
|
+ Pre_PetriNets_Runtime/Place {
|
|
|
label = "0"
|
|
|
}
|
|
|
}
|
|
|
RHS {
|
|
|
- Post_PetriNets_Runtime_Place cp1 {
|
|
|
+ Post_PetriNets_Runtime/Place cp1 {
|
|
|
label = "0"
|
|
|
}
|
|
|
- Post_PetriNets_Place cp2 {
|
|
|
+ Post_PetriNets/Place cp2 {
|
|
|
label = "1"
|
|
|
action = $
|
|
|
include "primitives.alh"
|
|
@@ -57,19 +50,19 @@ RAM_PN_DR annotate {
|
|
|
}
|
|
|
{Contains} ForAll copy_P2T {
|
|
|
LHS {
|
|
|
- Pre_PetriNets_Runtime_Place cp2t_p{
|
|
|
+ Pre_PetriNets_Runtime/Place cp2t_p{
|
|
|
label = "0"
|
|
|
}
|
|
|
- Pre_PetriNets_Runtime_Transition cp2t_t{
|
|
|
+ Pre_PetriNets_Runtime/Transition cp2t_t{
|
|
|
label = "1"
|
|
|
}
|
|
|
- Pre_PetriNets_Runtime_P2T (cp2t_p, cp2t_t){
|
|
|
+ Pre_PetriNets_Runtime/P2T (cp2t_p, cp2t_t){
|
|
|
label = "2"
|
|
|
}
|
|
|
- Pre_PetriNets_Place cp2t_p2{
|
|
|
+ Pre_PetriNets/Place cp2t_p2{
|
|
|
label = "3"
|
|
|
}
|
|
|
- Pre_PetriNets_Transition cp2t_t2{
|
|
|
+ Pre_PetriNets/Transition cp2t_t2{
|
|
|
label = "4"
|
|
|
}
|
|
|
Pre_R2D_PlaceLink (cp2t_p, cp2t_p2){
|
|
@@ -80,19 +73,19 @@ RAM_PN_DR annotate {
|
|
|
}
|
|
|
}
|
|
|
RHS {
|
|
|
- Post_PetriNets_Runtime_Place rhs_cp2t_p{
|
|
|
+ Post_PetriNets_Runtime/Place rhs_cp2t_p{
|
|
|
label = "0"
|
|
|
}
|
|
|
- Post_PetriNets_Runtime_Transition rhs_cp2t_t{
|
|
|
+ Post_PetriNets_Runtime/Transition rhs_cp2t_t{
|
|
|
label = "1"
|
|
|
}
|
|
|
- Post_PetriNets_Runtime_P2T rhs_cp2t_p2t (rhs_cp2t_p, rhs_cp2t_t){
|
|
|
+ Post_PetriNets_Runtime/P2T rhs_cp2t_p2t (rhs_cp2t_p, rhs_cp2t_t){
|
|
|
label = "2"
|
|
|
}
|
|
|
- Post_PetriNets_Place rhs_cp2t_p2 {
|
|
|
+ Post_PetriNets/Place rhs_cp2t_p2 {
|
|
|
label = "3"
|
|
|
}
|
|
|
- Post_PetriNets_Transition rhs_cp2t_t2 {
|
|
|
+ Post_PetriNets/Transition rhs_cp2t_t2 {
|
|
|
label = "4"
|
|
|
}
|
|
|
Post_R2D_PlaceLink (rhs_cp2t_p, rhs_cp2t_p2){
|
|
@@ -101,7 +94,7 @@ RAM_PN_DR annotate {
|
|
|
Post_R2D_TransitionLink (rhs_cp2t_t, rhs_cp2t_t2){
|
|
|
label = "6"
|
|
|
}
|
|
|
- Post_PetriNets_P2T rhs_cp2t_p2t2(rhs_cp2t_p2, rhs_cp2t_t2) {
|
|
|
+ Post_PetriNets/P2T rhs_cp2t_p2t2(rhs_cp2t_p2, rhs_cp2t_t2) {
|
|
|
label = "7"
|
|
|
action = $
|
|
|
include "primitives.alh"
|
|
@@ -115,19 +108,19 @@ RAM_PN_DR annotate {
|
|
|
}
|
|
|
{Contains} ForAll copy_T2P {
|
|
|
LHS {
|
|
|
- Pre_PetriNets_Runtime_Place ct2p_p{
|
|
|
+ Pre_PetriNets_Runtime/Place ct2p_p{
|
|
|
label = "0"
|
|
|
}
|
|
|
- Pre_PetriNets_Runtime_Transition ct2p_t{
|
|
|
+ Pre_PetriNets_Runtime/Transition ct2p_t{
|
|
|
label = "1"
|
|
|
}
|
|
|
- Pre_PetriNets_Runtime_T2P (ct2p_t, ct2p_p){
|
|
|
+ Pre_PetriNets_Runtime/T2P (ct2p_t, ct2p_p){
|
|
|
label = "2"
|
|
|
}
|
|
|
- Pre_PetriNets_Place ct2p_p2{
|
|
|
+ Pre_PetriNets/Place ct2p_p2{
|
|
|
label = "3"
|
|
|
}
|
|
|
- Pre_PetriNets_Transition ct2p_t2{
|
|
|
+ Pre_PetriNets/Transition ct2p_t2{
|
|
|
label = "4"
|
|
|
}
|
|
|
Pre_R2D_PlaceLink (ct2p_p, ct2p_p2){
|
|
@@ -138,19 +131,19 @@ RAM_PN_DR annotate {
|
|
|
}
|
|
|
}
|
|
|
RHS {
|
|
|
- Post_PetriNets_Runtime_Place rhs_ct2p_p{
|
|
|
+ Post_PetriNets_Runtime/Place rhs_ct2p_p{
|
|
|
label = "0"
|
|
|
}
|
|
|
- Post_PetriNets_Runtime_Transition rhs_ct2p_t{
|
|
|
+ Post_PetriNets_Runtime/Transition rhs_ct2p_t{
|
|
|
label = "1"
|
|
|
}
|
|
|
- Post_PetriNets_Runtime_T2P (rhs_ct2p_t, rhs_ct2p_p){
|
|
|
+ Post_PetriNets_Runtime/T2P (rhs_ct2p_t, rhs_ct2p_p){
|
|
|
label = "2"
|
|
|
}
|
|
|
- Post_PetriNets_Place rhs_ct2p_p2 {
|
|
|
+ Post_PetriNets/Place rhs_ct2p_p2 {
|
|
|
label = "3"
|
|
|
}
|
|
|
- Post_PetriNets_Transition rhs_ct2p_t2 {
|
|
|
+ Post_PetriNets/Transition rhs_ct2p_t2 {
|
|
|
label = "4"
|
|
|
}
|
|
|
Post_R2D_PlaceLink (rhs_ct2p_p, rhs_ct2p_p2){
|
|
@@ -159,7 +152,7 @@ RAM_PN_DR annotate {
|
|
|
Post_R2D_TransitionLink (rhs_ct2p_t, rhs_ct2p_t2){
|
|
|
label = "6"
|
|
|
}
|
|
|
- Post_PetriNets_T2P (rhs_ct2p_t2, rhs_ct2p_p2) {
|
|
|
+ Post_PetriNets/T2P (rhs_ct2p_t2, rhs_ct2p_p2) {
|
|
|
label = "7"
|
|
|
action = $
|
|
|
include "primitives.alh"
|