Presentation is loading. Please wait.

Presentation is loading. Please wait.

OCL nach MQL Hasso-Plattner-Institut, Potsdam 5. Juli 2010.

Similar presentations


Presentation on theme: "OCL nach MQL Hasso-Plattner-Institut, Potsdam 5. Juli 2010."— Presentation transcript:

1 OCL nach MQL Hasso-Plattner-Institut, Potsdam 5. Juli 2010

2 Architektur

3

4 7. Bachelorpodium | Projekt | betreuendes Fachgebiet | 2. Juli 2010 Ablauf 4

5 7. Bachelorpodium | Projekt | betreuendes Fachgebiet | 2. Juli 2010 Messungen 5 OCL-Bedingungen OCL (in ms) MQL (in ms) Query2 (in ms) buildResult (in ms) context employee body:Employee.allInstances()-> select(e:Employee|e.age > 55) 11.209804 100.4644457.7815060.178654 context employee body:Employee.allInstances()-> select(e:Employee|e.age = 55) 34.068296 72.4093438.7777220.057479 context employee body:Employee.allInstances()-> select(e:Employee|e.secretary.age = 0) 11.770909 107.73156953.4904580.045257 context employee body:Employee.allInstances()-> select(e:Employee| e.name = e.secretary.name) 12.39138 140.46813188.9778590.00461 context employee body:Employee.allInstances()-> select(e:Employee| e.age = e.salary) 12.511367 84.98454435.7410650.098197 context employee body:Employee.allInstances()-> collect(p:Employee|p.age) 11.416325 84.96184636.5766460.373302 context employee body:Employee.allInstances()-> collect(p:Employee|p.directed) 13.245678 110.08026158.1463574.79167 schlechtere Zeiten Gründe: doppeltes traversieren des AST Query Implementierung

6 OCL am AST parse OCL Annotations Speicherung des AST im content der Annotation Kontextabhängige Interpretation der Annotations

7 Rückwärtsnavigation Erweiterung des OCL-Metamodells oppositePropertyCallExp Urspr. Model Query2


Download ppt "OCL nach MQL Hasso-Plattner-Institut, Potsdam 5. Juli 2010."

Similar presentations


Ads by Google