Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » ATL » synchronisation between counters in two separated matched rules
synchronisation between counters in two separated matched rules [message #1764312] Sat, 27 May 2017 21:48
im hello world is currently offline im hello worldFriend
Messages: 44
Registered: February 2017
Member
Hi everyBody,
I have 2 matched rules, rule 1 and rule 2.
in rule 1 i have a counter that increments an id for example id0,id1,id2...
what i want to do is to synchronize between the 2 rules :
for example if id0 is created in rule1,
and in rule2 for example i have
loc:loc!MM
( id<- id+thisModule.counter,
..)
i want this id to be id0 as it is created in rule1.
i want to synchronize between the two rules, specifically between the two id.
any idea how to do this.
regards
Previous Topic:error: java.lang.String does not have properties
Next Topic:problem with the iteration
Goto Forum:
  


Current Time: Fri Apr 26 07:13:04 GMT 2024

Powered by FUDForum. Page generated in 0.03100 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top