70 likes | 362 Views
DSE using Alloy. Reading part. Introduction. Alloy DSL DSE Framework Use of Alloy. Alloy. Declarative language Analyses for a specific scope Generates examples and counterexamples Bottleneck: SAT-solver. Example of Alloy. abstract sig Person {shaves: set Man}
E N D
DSE using Alloy Reading part
Introduction • Alloy • DSL • DSE • Framework • Use of Alloy
Alloy • Declarative language • Analyses for a specific scope • Generates examples and counterexamples • Bottleneck: SAT-solver
Example of Alloy abstract sig Person {shaves: set Man} sig Man extends Person {} sig Woman extends Person {} one sig Barber in Person {} fact { Barber.shaves = {m: Man | m not in m.shaves} } run { }
Framework • Design a DSML • Extend the DSML (eDSML) • Create a design space • Perform DSE __________________________ Saxena, T., Karsai, G., 2010. Mde-based approach for generalizeing design space exploration. MODELS 2010 I, 46–60.
Use of Alloy • Model completion • MM constrained with Alloy facts • Partial model completed using Alloy • SAT-solver SMT-solver (e.g. FORMULA)