Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » ATL » Trasfrom many source elements to one target element
Trasfrom many source elements to one target element [message #988697] Sat, 01 December 2012 13:46
Alessandro Ranieri is currently offline Alessandro Ranieri
Messages: 16
Registered: November 2012
Junior Member
Hello to everyone.

I would like to write a rule that takes an arbitrary set of elements from the input model (for example all those have a particular name or feature) and create a simple target pattern.

In detail my problem is the following:
I would like to trasform a Network Lan in a Graph (in UML and Profiles). I have some simple source patterns and some simple target patterns. For example the source pattern host-link-router is translated in vertex-edge-vertex. The problem is that in the output model I have as many vertex that represent each router as many are the hosts connected to the router. So I thought that a second transformation could merge all the vertexes that correspond to same router in input model in a single vertex based on its name.


Thanks in advance for any suggest.

[Updated on: Sat, 01 December 2012 14:37]

Report message to a moderator

Previous Topic:Java ATL transformation Obligations
Next Topic:does lazy rules from clause works?
Goto Forum:
  


Current Time: Wed Sep 17 09:42:59 GMT 2014

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

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