Documente Academic
Documente Profesional
Documente Cultură
Goal Modeling
2006-07 Betty H.C. Cheng. This presentation is available free for non-commercial use with attribution under a creative commons license.
RE
We Will Cover
What is a goal?
Where do goals come from?
What is a goal model?
When to use goal models?
How do goal models relate to UML models?
2006-07 Betty H.C. Cheng. This presentation is available free for non-commercial use with attribution under a creative commons license.
RE
What is a goal?
RE
Goal Examples:
Non-goal Examples:
The system will be implemented in C++
The paint colors for the cars will be yellow,
orange, and red
2006-07 Betty H.C. Cheng. This presentation is available free for non-commercial use with attribution under a creative commons license.
RE
Goal Exercise
2006-07 Betty H.C. Cheng. This presentation is available free for non-commercial use with attribution under a creative commons license.
RE
Goal Exercise
2006-07 Betty H.C. Cheng. This presentation is available free for non-commercial use with attribution under a creative commons license.
Types of Goals
RE
Functional (Hard)
Describe functions the system will perform
Well defined criteria for satisfaction
E.g., System collects timetables from user
Quality
E.g., System should be high quality.
2006-07 Betty H.C. Cheng. This presentation is available free for non-commercial use with attribution under a creative commons license.
RE
Conveyed by stakeholders
Disclosed in requirements documents
Analysis of similar or current system
Elaborating other goals
2006-07 Betty H.C. Cheng. This presentation is available free for non-commercial use with attribution under a creative commons license.
RE
Goal Exercise
2006-07 Betty H.C. Cheng. This presentation is available free for non-commercial use with attribution under a creative commons license.
RE
Early RE
Late
RRE
Why?
What?
Design
Code
Test
How?
2006-07 Betty H.C. Cheng. This presentation is available free for non-commercial use with attribution under a creative commons license.
RE
2006-07 Betty H.C. Cheng. This presentation is available free for non-commercial use with attribution under a creative commons license.
RE
2006-07 Betty H.C. Cheng. This presentation is available free for non-commercial use with attribution under a creative commons license.
RE
Running Example
Meeting Scheduler
Assists the initiator in scheduling a meeting
Meeting should be convenient for participants
Participants should be available
13
Goal Model
RE
Schedule
meeting
Choose
schedule
Collect
timetables
By
person
Manually
By
system
Collect from
agents
Automatically
Collect from
users
Send
request
Receive
request
2006-07 Betty H.C. Cheng. This presentation is available free for non-commercial use with attribution under a creative commons license.
AND Refinement
RE
Schedule
meeting
AND
AND
Choose
schedule
Collect
timetables
By
person
Manually
By
system
Collect from
agents
All of the
subgoals must be
achieved for the
goal to be
achieved
Automatically
Collect from
users
AND
Send
request
AND
Receive
request
2006-07 Betty H.C. Cheng. This presentation is available free for non-commercial use with attribution under a creative commons license.
15
OR Refinement
RE
Schedule
meeting
AND
AND
Choose
schedule
OR
Collect
timetables
OR
By
person
OR
Manually
By
system
OR
OR
Collect from
agents
Collect from
users
AND
Send
request
AND
Receive
request
2006-07 Betty H.C. Cheng. This presentation is available free for non-commercial use with attribution under a creative commons license.
16
RE
Interpretations of OR Refinements
Static systems alternative solutions
Adaptive systems
points of variation
Schedule
meeting
AND
AND
Choose
schedule
OR
Collect
timetables
OR
By
person
OR
Manually
By
system
OR
Automatically
OR
OR
Collect from
agents
Collect from
users
AND
Send
request
AND
Receive
request
2006-07 Betty H.C. Cheng. This presentation is available free for non-commercial use with attribution under a creative commons license.
17
Softgoals
RE
Good Quality
schedule
AND
Minimal
conflicts
Minimal
effort
Good
participation
AND
AND
Collection
effort
AND
Matching
effort
Minimal
disturbances
Accurate
constraints
2006-07 Betty H.C. Cheng. This presentation is available free for non-commercial use with attribution under a creative commons license.
RE
Modeling Softgoals
2006-07 Betty H.C. Cheng. This presentation is available free for non-commercial use with attribution under a creative commons license.
RE
Contributions to Softgoals
Good Quality
schedule
AND
Minimal
conflicts
Schedule
meeting
AND
Choose
schedule
OR
Manually
AND
OR
Good
participation
Automatically
2006-07 Betty H.C. Cheng. This presentation is available free for non-commercial use with attribution under a creative commons license.
Construction Process
RE
Minimal
effort
AND
AND
AND
Good Quality
schedule
Matching
effort
Minimal
conflicts
AND
Good
participation
Collection
effort
1. Define
Softgoals
Minimal
disturbances
Accurate
constraints
2006-07 Betty H.C. Cheng. This presentation is available free for non-commercial use with attribution under a creative commons license.
21
Construction Process
RE
Minimal
effort
AND
AND
AND
OR
Manually
By
system
Automatically
OR
OR
Minimal
disturbances
Good
participation
OR
OR
OR
Collect from
agents
AND
AND Choose
schedule
Collect
timetables
By
person
Minimal
conflicts
Schedule
meeting
Matching
effort
AND
Collection
effort
Good Quality
schedule
Collect from
users
AND
Send
request
AND
2. Define
Hardgoals
Receive
request
Steps 1 & 2
may be
iterative
2006-07 Betty H.C. Cheng. This presentation is available free for non-commercial use with attribution under a creative commons license.
Accurate
constraints
22
Construction Process
RE
Good Quality
schedule
Minimal
effort
AND
AND
AND
AND Choose
schedule
+
AND
Collection
effort
Collect
timetables
OR
Manually
By
system
Minimal
disturbances
Collect from
users
AND
+
Accurate
constraints
Good
participation
Automatically
OR
OR
Collect from
agents
AND
OR +
OR
OR
By
person
Minimal
conflicts
Schedule
meeting
Matching
effort
Send
request
AND
Receive
request
3. Evaluate
hardgoal
contribution
to softgoals
2006-07 Betty H.C. Cheng. This presentation is available free for non-commercial use with attribution under a creative commons license.
23
RE
2006-07 Betty H.C. Cheng. This presentation is available free for non-commercial use with attribution under a creative commons license.
24
RE
KAOS
Goal
Agent
Operationalization
Object
2006-07 Betty H.C. Cheng. This presentation is available free for non-commercial use with attribution under a creative commons license.
RE
Software
Sensor
Train
2006-07 Betty H.C. Cheng. This presentation is available free for non-commercial use with attribution under a creative commons license.
RE
Software
Sensor
Train
2006-07 Betty H.C. Cheng. This presentation is available free for non-commercial use with attribution under a creative commons license.
RE
Software
Sensor
Train
2006-07 Betty H.C. Cheng. This presentation is available free for non-commercial use with attribution under a creative commons license.
RE
Software
Sensor
Train
2006-07 Betty H.C. Cheng. This presentation is available free for non-commercial use with attribution under a creative commons license.
RE
Software
Sensor
Train
2006-07 Betty H.C. Cheng. This presentation is available free for non-commercial use with attribution under a creative commons license.
RE
Software
Sensor
Train
2006-07 Betty H.C. Cheng. This presentation is available free for non-commercial use with attribution under a creative commons license.
RE
Software
Sensor
Train
2006-07 Betty H.C. Cheng. This presentation is available free for non-commercial use with attribution under a creative commons license.
RE
Software
Sensor
Train
2006-07 Betty H.C. Cheng. This presentation is available free for non-commercial use with attribution under a creative commons license.
RE
Software
Sensor
Train
2006-07 Betty H.C. Cheng. This presentation is available free for non-commercial use with attribution under a creative commons license.
RE
Software
Sensor
Train
2006-07 Betty H.C. Cheng. This presentation is available free for non-commercial use with attribution under a creative commons license.
RE
Software
Sensor
Train
2006-07 Betty H.C. Cheng. This presentation is available free for non-commercial use with attribution under a creative commons license.
RE
Software
Sensor
Human
Software
Sensor
Goal Model
Agent Model
2006-07 Betty H.C. Cheng. This presentation is available free for non-commercial use with attribution under a creative commons license.
27
RE
Software
Sensor
Human
Human
Software
Sensor
Goal Model
Agent Model
2006-07 Betty H.C. Cheng. This presentation is available free for non-commercial use with attribution under a creative commons license.
27
RE
Software
Sensor
Human
Software
Sensor
Goal Model
Agent Model
2006-07 Betty H.C. Cheng. This presentation is available free for non-commercial use with attribution under a creative commons license.
27
RE
Software
Sensor
Human
Manually Radio Other Train Conductors
Goal Model
Human
Agent Model
2006-07 Betty H.C. Cheng. This presentation is available free for non-commercial use with attribution under a creative commons license.
27
RE
Software
Sensor
Human
Software
Sensor
Goal Model
Agent Model
2006-07 Betty H.C. Cheng. This presentation is available free for non-commercial use with attribution under a creative commons license.
27
Close Door
Door
2006-07 Betty H.C. Cheng. This presentation is available free for non-commercial use with attribution under a creative commons license.
28
Close Door
Close Door
Door
Door
2006-07 Betty H.C. Cheng. This presentation is available free for non-commercial use with attribution under a creative commons license.
28
RE
Following
On Track
Train
Speed
Loc
On
TrackSegment
SpeedLimit
hasGate
Gate
Loc
Status
Switch
position
2006-07 Betty H.C. Cheng. This presentation is available free for non-commercial use with attribution under a creative commons license.
29
RE
KAOS
Goal
Agent
Operationalization
Object
i*
Relates goals to the organization context
2 models
Actor (Strategic) Dependency Model
Actor (Strategic) Rationale Model
2006-07 Betty H.C. Cheng. This presentation is available free for non-commercial use with attribution under a creative commons license.
RE
or impa
rations
Attends
Meeting(p,m)
Meeting
Scheduler
D
X
Enter
DateRange
(m)
Enter
AvailDates
(m)
D
D
Meeting
Initiator
D
Proposed
Date(m)
Agreement
(m,p)
Attends
Meeting(ip,m)
Assured
(Attends
Meeting(ip,m))
LEGEND
MeetingBe
Scheduled(m)
D
D
Meeting
Participant
ISA
Important
Participant
Depender Dependee
Resource Dependency
Task Dependency
Goal Dependency
Softgoal Dependency
Open (uncommitted)
Critical
2006-07 Betty H.C. Cheng. This presentation is available free for non-commercial use with attribution under a creative commons license.
31
Diagram from Towards Modelling and Reasoning Support for Early-Phase Requirements Engineering by Eric Yu
In th
vides a
side ac
tentiona
appear i
but also
ships an
in Figur
meeting
SD mod
For e
is that o
(represe
ings in
(m)
RE
i* Actor Dependency
Model
D
Da
Attends
D - An actorMeeting(ip,m)
Dependencies between actors
is a black box
Assured
or impa
(Attends
rations
Meeting
Attends
Meeting(p,m)
D
X
Enter
DateRange
(m)
Dependee
D
D
Agreement
D Dependency
Goal
(m,p)
Meeting
Scheduler
D D
Enter
Dependency
AvailDates
(m)
Resource
D
Task Dependency
Proposed
Meeting
Initiator
MeetingBe
Depender
Scheduled(m) D
LEGEND
Date(m)
Attends
Meeting(ip,m)
Softgoal Dependency
D
Assured
X
Open (uncommitted)
Critical
(Attends
D
Meeting(ip,m))
O
LEGEND
Meeting
Participant
ISA
Important
Participant
Depender Dependee
D
Resource Dependency
Task Dependency
Goal Dependency
Softgoal Dependency
In th
vides a
side ac
tentiona
appear i
but also
ships an
in Figur
meeting
SD mod
For e
is that o
(represe
ings in
Open (uncommitted)
Critical
2006-07 Betty H.C. Cheng. This presentation is available free for non-commercial use with attribution under a creative commons license.
31
Diagram from Towards Modelling and Reasoning Support for Early-Phase Requirements Engineering by Eric Yu
RE
or impa
rations
Attends
Meeting(p,m)
Meeting
Scheduler
D
X
Enter
DateRange
(m)
Enter
AvailDates
(m)
D
D
Meeting
Initiator
D
Proposed
Date(m)
Agreement
(m,p)
Attends
Meeting(ip,m)
Assured
(Attends
Meeting(ip,m))
LEGEND
MeetingBe
Scheduled(m)
D
D
Meeting
Participant
ISA
Important
Participant
Depender Dependee
Resource Dependency
Task Dependency
Goal Dependency
Softgoal Dependency
Open (uncommitted)
Critical
2006-07 Betty H.C. Cheng. This presentation is available free for non-commercial use with attribution under a creative commons license.
31
Diagram from Towards Modelling and Reasoning Support for Early-Phase Requirements Engineering by Eric Yu
In th
vides a
side ac
tentiona
appear i
but also
ships an
in Figur
meeting
SD mod
For e
is that o
(represe
ings in
RE
MeetingBe
Scheduled
Quick
+
Schedule
Meeting
Meeting
Participant
Participate
InMeeting
Attends
Meeting
Low
Effort
! +
Attend
Meeting
LetSceduler
Schedule
D
Meeting
MeetingBe
Scheduled D
Convenient
+ (Meeting,Date)
Quality
(ProposedDate)
+
Meeting
Scheduler
D
Obtain
AvailDates
Task
Resource
Soft!Goal
Task!Decompo!
sition link
Means!ends link
+
!
Contribution to
softgoals
Actor
Find
Agreeable
Slot
Obtain
Agreement
Merge
AvailDates
Enter
D AvailDates D
Goal
Agreeable
(Meeting,Date)
Richer
Medium +
!
Schedule
Meeting
Proposed
Date
Enter
DateRange
LEGEND
Arrange
Meeting
Low
Effort
+
User
Friendly
! +
FindAgreeable
DateUsing
Scheduler
FindAgreeable
DateByTalking
ToInitiator
AgreeTo
Date
Agreement D
Actor Boundary
2006-07 Betty H.C. Cheng. This presentation is available free for non-commercial use with attribution under a creative commons license.
32
Diagram from Towards Modelling and Reasoning Support for Early-Phase Requirements Engineering by Eric Yu
ser
i*
Actor
Rationale
Model
RE
riendly Min
Interruption
Internal actor relationships - An actor is a white box
!
LEGEND
Meeting
Initiator
+
Schedule
Meeting
Meeting
Scheduler
Schedule
Meeting
Goal
Task
Resource
Soft!Goal
Task!Decompo!
sition link
Means!ends link
+
!
Contribution to
softgoals
Actor
Attend
Meeting
Resource
D
Enter
DateRange
Task
Low
Effort
! +
LetSceduler
Schedule
D
Meeting
MeetingBe
Scheduled D
LEGEND
Participate
InMeeting
Attends
Meeting
Convenient
+ (Meeting,Date)
Soft!Goal
+
! Obtain
Find
Agreeable
Slot
Obtain
Contribution
to
Enter
AvailDates
AvailDates
D
softgoals
AgreementActor
Proposed
Merge
AvailDates
Quality
(ProposedDate)
+
Task!Decompo!
sition link
Means!ends link
MeetingBe
Scheduled
Quick
Goal
Date
Actor Boundary
D
Arrange
Meeting
Agreeable
(Meeting,Date)
Richer
Medium +
!
Organize
Meeting
Meeting
Participant
Low
Effort
+
User
Friendly
! +
FindAgreeable
DateUsing
Scheduler
FindAgreeable
DateByTalking
ToInitiator
AgreeTo
Date
Agreement D
Actor Boundary
2006-07 Betty H.C. Cheng. This presentation is available free for non-commercial use with attribution under a creative commons license.
32
Diagram from Towards Modelling and Reasoning Support for Early-Phase Requirements Engineering by Eric Yu
RE
MeetingBe
Scheduled
Quick
+
Schedule
Meeting
Meeting
Participant
Participate
InMeeting
Attends
Meeting
Low
Effort
! +
Attend
Meeting
LetSceduler
Schedule
D
Meeting
MeetingBe
Scheduled D
Convenient
+ (Meeting,Date)
Quality
(ProposedDate)
+
Meeting
Scheduler
D
Obtain
AvailDates
Task
Resource
Soft!Goal
Task!Decompo!
sition link
Means!ends link
+
!
Contribution to
softgoals
Actor
Find
Agreeable
Slot
Obtain
Agreement
Merge
AvailDates
Enter
D AvailDates D
Goal
Agreeable
(Meeting,Date)
Richer
Medium +
!
Schedule
Meeting
Proposed
Date
Enter
DateRange
LEGEND
Arrange
Meeting
Low
Effort
+
User
Friendly
! +
FindAgreeable
DateUsing
Scheduler
FindAgreeable
DateByTalking
ToInitiator
AgreeTo
Date
Agreement D
Actor Boundary
2006-07 Betty H.C. Cheng. This presentation is available free for non-commercial use with attribution under a creative commons license.
32
Diagram from Towards Modelling and Reasoning Support for Early-Phase Requirements Engineering by Eric Yu