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 08:33 Go to next message
yesheng chai is currently offline yesheng chai
Messages: 64
Registered: March 2013
Member
hello,
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 09:05 Go to previous message
Hugo Bruneliere is currently offline Hugo Bruneliere
Messages: 607
Registered: July 2009
Senior Member
Hello,

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


------------------------------------------
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: Fri Oct 31 23:04:30 GMT 2014

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

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