Skip to main content

[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

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

Back to the top