reflex renata medeiros de carvalho (rwm@cin.ufpe.br) ricardo massa (rmfl@cin.ufpe.br)
Post on 28-Dec-2015
212 Views
Preview:
TRANSCRIPT
Activities• State
• Additional property
ActivityA
ActivityA
ActivityA
ActivityA
ActivityA
enabled disabled blocked
enabled/obliged disabled/obliged
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
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
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
top related