You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
a mail thread with title: "CVL Operation Zone problem", date: 28.05.2013
We have had shuck inquiry--->
I have worked with Bo on the Autronica case, trying to explore various ways to approach it in Clafer and CVL. We took the current draft of the domain model as a starting point. We have a specific question about CVL that we are struggling with.
If you look at the attached figure, you will find a fragment of the Autronica model on the very top. Operating zones are nesting other zones. This seems to be a very common pattern in modeling.
We are considering how to capture this in CVL. There is pretty much two options to consider:
In the VSpec layer using classifiers to represent zone. We believe that this does not work, because classifiers cannot nest themselves recursively. This way we can only get a flat set of classifier instances (resolutions) representing operation zones (OZ), not nested one under another.
Alternatively, we can use a base model with operation Zones, and try to instantiate copies of operation zones using fragment substitution driven by some set of classifiers. Here the challenge is how to make the results of these fragment substitution to nest in one another.
This is exemplified in the attached PDF file. We use a simple base model on the top with VSpec model underneath. The fragment substitution is meant to be bound to the OZ classifier.
If OZ is resolved n times, we will obtain the resolved model on top of page 2 in the attached PDF as the outcome of materialization.
But how can we use fragment substitution (or any other CVL construct) to create an unfolding that looks more like the model in the bottom of page 2?
Any ideas how to configure nesting of such structures in CVL?
The text was updated successfully, but these errors were encountered:
a mail thread with title: "CVL Operation Zone problem", date: 28.05.2013
We have had shuck inquiry--->
I have worked with Bo on the Autronica case, trying to explore various ways to approach it in Clafer and CVL. We took the current draft of the domain model as a starting point. We have a specific question about CVL that we are struggling with.
If you look at the attached figure, you will find a fragment of the Autronica model on the very top. Operating zones are nesting other zones. This seems to be a very common pattern in modeling.
We are considering how to capture this in CVL. There is pretty much two options to consider:
In the VSpec layer using classifiers to represent zone. We believe that this does not work, because classifiers cannot nest themselves recursively. This way we can only get a flat set of classifier instances (resolutions) representing operation zones (OZ), not nested one under another.
Alternatively, we can use a base model with operation Zones, and try to instantiate copies of operation zones using fragment substitution driven by some set of classifiers. Here the challenge is how to make the results of these fragment substitution to nest in one another.
This is exemplified in the attached PDF file. We use a simple base model on the top with VSpec model underneath. The fragment substitution is meant to be bound to the OZ classifier.
If OZ is resolved n times, we will obtain the resolved model on top of page 2 in the attached PDF as the outcome of materialization.
But how can we use fragment substitution (or any other CVL construct) to create an unfolding that looks more like the model in the bottom of page 2?
Any ideas how to configure nesting of such structures in CVL?
The text was updated successfully, but these errors were encountered: