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
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
( 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.
Previous Topic:error: java.lang.String does not have properties
Next Topic:problem with the iteration
Goto Forum:

Current Time: Mon Nov 19 06:48:39 GMT 2018

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

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

Back to the top