[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[henshin-user] Match depending on the number of edges

Hello Henshin users and developers,


I just wanted to ask if it possible to construct matching rules which match certain patterns dependent on their number of connected edges?

As example:

My class diagram:

Class1 -- [*] Class2

My input model:

Class1 connected to 3 Class2.
Class1 -- [3] Class2

Class1 connected to 2 Class2.
Class1 -- [2] Class2


Now I want my rules only to match the pattern where Class1 only has 2 Class2 members.


Best,
JÃrgen


-- 
Dipl.-Ing. JÃrgen Freund
Arbeitsgruppe Ãhnlichkeitsmechanik

Telefon: +49 (0)711 685 69530
E-Mail:  freund@xxxxxxxxxxxxxxxxxxxx

Postadresse:
UniversitÃt Stuttgart
Institut fÃr Statik und Dynamik der Luft- und Raumfahrtkonstruktionen
Pfaffenwaldring 27 - Zimmer 01.002
70569 Stuttgart