reflex renata medeiros de carvalho ([email protected]) ricardo massa ([email protected])

15
REFlex Renata Medeiros de Carvalho ([email protected]) Ricardo Massa ([email protected])

Upload: shona-bell

Post on 28-Dec-2015

212 views

Category:

Documents


0 download

TRANSCRIPT

REFlexRenata Medeiros de Carvalho ([email protected])Ricardo Massa ([email protected])

ReFlex

RulesCompiler

Business Process

Engine

ReFlex

Engine

RulesCompiler

Business Process

ReFlex

RulesCompiler

Business Process

Engine

Activities• State

• Additional property

ActivityA

ActivityA

ActivityA

ActivityA

ActivityA

enabled disabled blocked

enabled/obliged disabled/obliged

REFlex Rules• General properties• Source and target

• Temporary existence• Weight

ActivityA

Activity B

Relationship

XRelationship

Y

State: enabledObliged: FALSE

State: disabledObliged: TRUE

Weight: 0Temporary: FALSE

Weight: 2Temporary: TRUE

REFlex Rules

At Least

At Most

Obligation

Temporary Obligation

Blocking

Temporary Blocking

Precedent Obliged

Liveness Enforcing

N = 1 N = 1N = ?

N = ?

N = ?

Liveness Enforcing

Data-aware Graph

X = 20User = “adm”Valid = TrueAvailability = 0.99

A BExistence condition

Existence condition

Existence condition

Alloy• Formal specification language• Alloy Analyzer• SAT solver• 2 types of analysis

• Search for an instance that satisfies all the constraints and relations specified in a model

• Identification of counterexamples that violates the assertions specified in a model

REFlex

Receive product request

Separate by region

Send product using company

shipment

Hire other shipment method Penalty charge of

shipment company

Confirm product delivery

1

2

3

4

5

6

IF cost of 4 ≤1,25 * cost of 3

IF rate of 1 <10 * rate of 3

IF response time of 5 > x

Separate products for other countries

Send products by ship

Send products by airplane

7

8

9

IF cost of 9 ≤ 1,5 * cost of 8