Add 'simplified' version of the FTG+PM++ formalism with operational semantics
This commit is contained in:
parent
ced3edbd08
commit
d00b9c25db
16 changed files with 1135 additions and 0 deletions
38
examples/ftg_pm_pt/pm/metamodels/mm_runtime.od
Normal file
38
examples/ftg_pm_pt/pm/metamodels/mm_runtime.od
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
##################################################
|
||||
|
||||
pm_State:Class {
|
||||
abstract = True;
|
||||
}
|
||||
|
||||
##################################################
|
||||
|
||||
pm_ArtefactState:Class
|
||||
:Inheritance (pm_ArtefactState -> pm_State)
|
||||
|
||||
pm_ArtefactState_data:AttributeLink (pm_ArtefactState -> Bytes) {
|
||||
name = "data";
|
||||
optional = False;
|
||||
}
|
||||
|
||||
##################################################
|
||||
|
||||
pm_CtrlPortState:Class
|
||||
:Inheritance (pm_CtrlPortState -> pm_State)
|
||||
|
||||
pm_CtrlPortState_active:AttributeLink (pm_CtrlPortState -> Boolean) {
|
||||
name = "active";
|
||||
optional = False;
|
||||
}
|
||||
|
||||
##################################################
|
||||
##################################################
|
||||
|
||||
pm_Of:Association (pm_State -> pm_Stateful) {
|
||||
# one-to-one
|
||||
source_lower_cardinality = 1;
|
||||
source_upper_cardinality = 1;
|
||||
target_lower_cardinality = 1;
|
||||
target_upper_cardinality = 1;
|
||||
}
|
||||
|
||||
##################################################
|
||||
Loading…
Add table
Add a link
Reference in a new issue