Skip to main content


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 chaiFriend
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 BruneliereFriend
Messages: 674
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, PhD
NaoMod team (IMT Atlantique & LS2N-CNRS)
Nantes - France
--------------------------------------------------------
Previous Topic:[ATL][AML]Information on AML
Next Topic:[ATL] EMF VMException: Cannot create OUT!...
Goto Forum:
  


Current Time: Sat Apr 20 12:31:34 GMT 2024

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

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

Back to the top