Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » ATL » Lazy rule(the difference of unique lazy rule and lazy rule )
icon5.gif  Lazy rule [message #1044711] Fri, 19 April 2013 04:33 Go to next message
yesheng chai is currently offline yesheng chai
Messages: 64
Registered: March 2013
Who can give me some examples to tell me the difference of lazy rule and Unique lazy rule ?
Thank you!
Re: Lazy rule [message #1044733 is a reply to message #1044711] Fri, 19 April 2013 05:05 Go to previous message
Hugo Bruneliere is currently offline Hugo Bruneliere
Messages: 603
Registered: July 2009
Senior Member

In ATL, the preferred order for using rules is the following one: use standard "matched rules" as much as possible, only when required (in specific cases) use some "unique lazy rules" or standard "lazy rules".
You can find information on lazy rules (standard and unique) from the dedicated ATL user guide section.
Basically, the difference between "unique lazy rules" and "lazy rules" is that when calling several times an unique lay rule on the same input element, only one corresponding output model element is created (and then referred to).

Best regards,


Hugo Bruneliere - R&D Engineer
AtlanMod research team (Inria, EMN & LINA)
Ecole des Mines de Nantes
Nantes - France
Previous Topic:[ATL][AML]Information on AML
Next Topic:[ATL] EMF VMException: Cannot create OUT!...
Goto Forum:

Current Time: Tue Sep 02 15:00:14 EDT 2014

Powered by FUDForum. Page generated in 0.12770 seconds