Top Banner
DSE using Alloy Reading part
7

DSE using Alloy Reading part. 1 Introduction Alloy -DSL -DSE Framework Use of Alloy.

Mar 31, 2015

Download

Documents

Brielle Glew
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: DSE using Alloy Reading part. 1 Introduction Alloy -DSL -DSE Framework Use of Alloy.

DSE using AlloyReading part

Page 2: DSE using Alloy Reading part. 1 Introduction Alloy -DSL -DSE Framework Use of Alloy.

2

Introduction

• Alloy- DSL- DSE

• Framework

• Use of Alloy

Page 3: DSE using Alloy Reading part. 1 Introduction Alloy -DSL -DSE Framework Use of Alloy.

3

Alloy

• Declarative language

• Analyses for a specific scope

• Generates examples and counterexamples

• Bottleneck: SAT-solver

Page 4: DSE using Alloy Reading part. 1 Introduction Alloy -DSL -DSE Framework Use of Alloy.

4

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 { }

Page 5: DSE using Alloy Reading part. 1 Introduction Alloy -DSL -DSE Framework Use of Alloy.

5

Framework

1. Design a DSML

2. Extend the DSML (eDSML)

3. Create a design space

4. Perform DSE__________________________

Saxena, T., Karsai, G., 2010. Mde-based approach for generalizeing design space exploration. MODELS 2010 I, 46–60.

Page 6: DSE using Alloy Reading part. 1 Introduction Alloy -DSL -DSE Framework Use of Alloy.

6

Use of Alloy

• Model completion - MM constrained with Alloy facts- Partial model completed using Alloy

• SAT-solver SMT-solver (e.g. FORMULA)

Page 7: DSE using Alloy Reading part. 1 Introduction Alloy -DSL -DSE Framework Use of Alloy.

7