51
RE © 2006-07 Betty H.C. Cheng. This presentation is available free for non-commercial use with attribution under a creative commons license. Goal Modeling 1

Goal Modeling - Michigan State Universitycse.msu.edu/~chengb/RE-491/Lectures/06-goal-modeling.pdf · 2006-10-24 · • Identify goals in the following paragraph An Adaptive Regional

  • Upload
    others

  • View
    0

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Goal Modeling - Michigan State Universitycse.msu.edu/~chengb/RE-491/Lectures/06-goal-modeling.pdf · 2006-10-24 · • Identify goals in the following paragraph An Adaptive Regional

RE

© 2006-07 Betty H.C. Cheng. This presentation is available free for non-commercial use with attribution under a creative commons license.

Goal Modeling

1

Page 2: Goal Modeling - Michigan State Universitycse.msu.edu/~chengb/RE-491/Lectures/06-goal-modeling.pdf · 2006-10-24 · • Identify goals in the following paragraph An Adaptive Regional

RE

© 2006-07 Betty H.C. Cheng. This presentation is available free for non-commercial use with attribution under a creative commons license.

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?• Why use goal models?• Capturing the goal model

2

Page 3: Goal Modeling - Michigan State Universitycse.msu.edu/~chengb/RE-491/Lectures/06-goal-modeling.pdf · 2006-10-24 · • Identify goals in the following paragraph An Adaptive Regional

RE

© 2006-07 Betty H.C. Cheng. This presentation is available free for non-commercial use with attribution under a creative commons license.

What is a goal?• A stakeholder objective for the system

– The system includes the software and its environment

• Who are stakeholders?– Anyone who has an interest in the system– Customers, end users, system developers,

system maintainers... • What is a goal model?

– A hierarchy of goals– Relates the high-level goals to low-level system

requirements

Page 4: Goal Modeling - Michigan State Universitycse.msu.edu/~chengb/RE-491/Lectures/06-goal-modeling.pdf · 2006-10-24 · • Identify goals in the following paragraph An Adaptive Regional

RE

© 2006-07 Betty H.C. Cheng. This presentation is available free for non-commercial use with attribution under a creative commons license.

Goal or Not a Goal?• Goal Examples:

– Credit card information is kept private– Credit card information is accurate– Safe transportation– Highly reliability

• Non-goal Examples:– The system will be implemented in C++– The paint colors for the cars will be yellow,

orange, and red

4

Page 5: Goal Modeling - Michigan State Universitycse.msu.edu/~chengb/RE-491/Lectures/06-goal-modeling.pdf · 2006-10-24 · • Identify goals in the following paragraph An Adaptive Regional

RE

© 2006-07 Betty H.C. Cheng. This presentation is available free for non-commercial use with attribution under a creative commons license.

Goal Exercise• Order the list of goals from high-level

concern to low-level concern

– User receives a request for a timetable from a system

– Collect timetables by system– Schedule meeting– System collect timetables from user– Collect timetables

Page 6: Goal Modeling - Michigan State Universitycse.msu.edu/~chengb/RE-491/Lectures/06-goal-modeling.pdf · 2006-10-24 · • Identify goals in the following paragraph An Adaptive Regional

RE

© 2006-07 Betty H.C. Cheng. This presentation is available free for non-commercial use with attribution under a creative commons license.

Goal Exercise• Order the list of goals from high-level

concern to low-level concern

– Schedule meeting– Collect timetables– Collect timetables by system– System collect timetables from user– User receives a request for a timetable

Page 7: Goal Modeling - Michigan State Universitycse.msu.edu/~chengb/RE-491/Lectures/06-goal-modeling.pdf · 2006-10-24 · • Identify goals in the following paragraph An Adaptive Regional

RE

© 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• Functional (Hard)

– Describe functions the system will perform– Well defined criteria for satisfaction– E.g., System collects timetables from user

• Non-functional (Soft or fuzzy)– Describe desired system qualities– Hard to define; satisficed rather than satisfied– Reliability

• E.g., System should be reliable– Quality

• E.g., System should be high quality.

Page 8: Goal Modeling - Michigan State Universitycse.msu.edu/~chengb/RE-491/Lectures/06-goal-modeling.pdf · 2006-10-24 · • Identify goals in the following paragraph An Adaptive Regional

RE

© 2006-07 Betty H.C. Cheng. This presentation is available free for non-commercial use with attribution under a creative commons license.

Where do goals come from?• Conveyed by stakeholders• Disclosed in requirements documents• Analysis of similar or current system• Elaborating other goals

Page 9: Goal Modeling - Michigan State Universitycse.msu.edu/~chengb/RE-491/Lectures/06-goal-modeling.pdf · 2006-10-24 · • Identify goals in the following paragraph An Adaptive Regional

RE

© 2006-07 Betty H.C. Cheng. This presentation is available free for non-commercial use with attribution under a creative commons license.

Goal Exercise • Identify goals in the following paragraph An Adaptive Regional Forecasting Ecological Observatory (ARFEO) is proposed as

means to implement an operational, run-time configurable, and adaptable ecological observatory to be used for regional ecological forecasting. ARFEO has three main dimensions. First, using a holistic perspective of environment, we will use sensors that are analogous to human and organism senses to monitor the environment and its changes. As such, ARFEO can be configured to observe and answer ecological questions specific to one class of sensory input or across multiple sensory inputs. Second, ARFEO will use a cyberinfrastructure comprising smart, heterogeneous sensor networks, small-scale and GRID-scale distributed computing [6]. ARFEO’s architecture will be a distributed design which will enable users to perform small and complex computations and transparent integration of data and analysis. ARFEO will enable a user to adapt monitoring capabilities at run-time, thus allowing a user to customize the configuration to specific needs and questions. Finally, ARFEO will emphasize the reuse and synergistic integration of existing analysis and visualization techniques to include in the computational toolkit for processing the sensor and ancillary data, as well as metadata. A key part of ARFEO will be the development of processes to make use of the toolkit element to support the analysis and visualization capabilities.

Page 10: Goal Modeling - Michigan State Universitycse.msu.edu/~chengb/RE-491/Lectures/06-goal-modeling.pdf · 2006-10-24 · • Identify goals in the following paragraph An Adaptive Regional

RE

© 2006-07 Betty H.C. Cheng. This presentation is available free for non-commercial use with attribution under a creative commons license.

When to use goal models• Early requirements engineering

– Focus on identifying problems– Exploring system solutions and alternatives– Done before UML modeling

R Design Code TestLate REEarly RE

Why? What? How?

Page 11: Goal Modeling - Michigan State Universitycse.msu.edu/~chengb/RE-491/Lectures/06-goal-modeling.pdf · 2006-10-24 · • Identify goals in the following paragraph An Adaptive Regional

RE

© 2006-07 Betty H.C. Cheng. This presentation is available free for non-commercial use with attribution under a creative commons license.

Why use goal models?

• Give rationale for requirements • Identify stable information • Guide requirement elaboration

Page 12: Goal Modeling - Michigan State Universitycse.msu.edu/~chengb/RE-491/Lectures/06-goal-modeling.pdf · 2006-10-24 · • Identify goals in the following paragraph An Adaptive Regional

RE

© 2006-07 Betty H.C. Cheng. This presentation is available free for non-commercial use with attribution under a creative commons license.

The Goal Model

Page 13: Goal Modeling - Michigan State Universitycse.msu.edu/~chengb/RE-491/Lectures/06-goal-modeling.pdf · 2006-10-24 · • Identify goals in the following paragraph An Adaptive Regional

RE

© 2006-07 Betty H.C. Cheng. This presentation is available free for non-commercial use with attribution under a creative commons license.

Running Example• Meeting Scheduler

– Assists the initiator in scheduling a meeting– Meeting should be convenient for participants

• Participants should be available

• Modeled using the i* goal notation

13Example adapted from the RE06 keynote given by John Mylopoulos

Page 14: Goal Modeling - Michigan State Universitycse.msu.edu/~chengb/RE-491/Lectures/06-goal-modeling.pdf · 2006-10-24 · • Identify goals in the following paragraph An Adaptive Regional

RE

© 2006-07 Betty H.C. Cheng. This presentation is available free for non-commercial use with attribution under a creative commons license.

Goal Model

Chooseschedule

Schedulemeeting

Collecttimetables

Bysystem

By person

Collect fromagents

Collect fromusers

Receiverequest

Sendrequest

Manually Automatically

Goals are refined into subgoals that elaborate

how the goal is achieved

Example adapted from the RE06 keynote given by John Mylopoulos

Page 15: Goal Modeling - Michigan State Universitycse.msu.edu/~chengb/RE-491/Lectures/06-goal-modeling.pdf · 2006-10-24 · • Identify goals in the following paragraph An Adaptive Regional

RE

© 2006-07 Betty H.C. Cheng. This presentation is available free for non-commercial use with attribution under a creative commons license.

AND Refinement

15

Chooseschedule

Schedulemeeting

Collecttimetables

Bysystem

By person

Collect fromagents

Collect fromusers

Receiverequest

Sendrequest

Manually Automatically

AND

AND AND

AND

All of the subgoals must be achieved for the

goal to be achieved

Example adapted from the RE06 keynote given by John Mylopoulos

Page 16: Goal Modeling - Michigan State Universitycse.msu.edu/~chengb/RE-491/Lectures/06-goal-modeling.pdf · 2006-10-24 · • Identify goals in the following paragraph An Adaptive Regional

RE

© 2006-07 Betty H.C. Cheng. This presentation is available free for non-commercial use with attribution under a creative commons license.

OR Refinement

16

Chooseschedule

Schedulemeeting

Collecttimetables

Bysystem

By person

Collect fromagents

Collect fromusers

Receiverequest

Sendrequest

Manually Automatically

AND

ANDAND

OR OROR OR

OR OR

AND

At least one of the subgoals must be achieved for the

goal to be achieved

Example adapted from the RE06 keynote given by John Mylopoulos

Page 17: Goal Modeling - Michigan State Universitycse.msu.edu/~chengb/RE-491/Lectures/06-goal-modeling.pdf · 2006-10-24 · • Identify goals in the following paragraph An Adaptive Regional

RE

© 2006-07 Betty H.C. Cheng. This presentation is available free for non-commercial use with attribution under a creative commons license.

Interpretations of OR Refinements

17

Chooseschedule

Schedulemeeting

Collecttimetables

Bysystem

By person

Collect fromagents

Collect fromusers

Receiverequest

Sendrequest

Manually Automatically

AND

ANDAND

OR OROR OR

OR OR

AND

Static systems - alternative solutionsAdaptive systems – points of variation

Example adapted from the RE06 keynote given by John Mylopoulos

Page 18: Goal Modeling - Michigan State Universitycse.msu.edu/~chengb/RE-491/Lectures/06-goal-modeling.pdf · 2006-10-24 · • Identify goals in the following paragraph An Adaptive Regional

RE

© 2006-07 Betty H.C. Cheng. This presentation is available free for non-commercial use with attribution under a creative commons license.

Softgoals

Minimal conflicts

Good Qualityschedule

Good participation

Collectioneffort

Matchingeffort

Minimaleffort

Minimaldisturbances

Accurateconstraints

AND

AND

ANDAND

Example adapted from the RE06 keynote given by John Mylopoulos

Page 19: Goal Modeling - Michigan State Universitycse.msu.edu/~chengb/RE-491/Lectures/06-goal-modeling.pdf · 2006-10-24 · • Identify goals in the following paragraph An Adaptive Regional

RE

© 2006-07 Betty H.C. Cheng. This presentation is available free for non-commercial use with attribution under a creative commons license.

Modeling Softgoals• Used to evaluate alternatives• Helps (+)• Makes (++) • Hurts (-)• Breaks (--)

Example adapted from the RE06 keynote given by John Mylopoulos

Page 20: Goal Modeling - Michigan State Universitycse.msu.edu/~chengb/RE-491/Lectures/06-goal-modeling.pdf · 2006-10-24 · • Identify goals in the following paragraph An Adaptive Regional

RE

© 2006-07 Betty H.C. Cheng. This presentation is available free for non-commercial use with attribution under a creative commons license.

Contributions to Softgoals

Chooseschedule

Schedulemeeting

Minimal conflicts

Good Qualityschedule

Good participation

Manually Automatically

AND

OROR

+

+

ANDAND

Example adapted from the RE06 keynote given by John Mylopoulos

Page 21: Goal Modeling - Michigan State Universitycse.msu.edu/~chengb/RE-491/Lectures/06-goal-modeling.pdf · 2006-10-24 · • Identify goals in the following paragraph An Adaptive Regional

RE

© 2006-07 Betty H.C. Cheng. This presentation is available free for non-commercial use with attribution under a creative commons license.

Construction Process

21

Minimal conflicts

Good Qualityschedule

Good participation

Minimaldisturbances

Accurateconstraints

Collectioneffort

Matchingeffort

Minimaleffort

AND

AND ANDAND

1. Define Softgoals

Page 22: Goal Modeling - Michigan State Universitycse.msu.edu/~chengb/RE-491/Lectures/06-goal-modeling.pdf · 2006-10-24 · • Identify goals in the following paragraph An Adaptive Regional

RE

© 2006-07 Betty H.C. Cheng. This presentation is available free for non-commercial use with attribution under a creative commons license.

2. Define Hardgoals

Steps 1 & 2 may be iterative

Schedulemeeting

Collecttimetables

Bysystem

By person

Collect fromagents

Collect fromusers

Receiverequest

Sendrequest

Minimal conflicts

Good Qualityschedule

Good participation

Minimaldisturbances

Accurateconstraints

Collectioneffort

Matchingeffort

Minimaleffort

Chooseschedule

Manually Automatically

AND

ANDAND

OR OROR

OR OR

OR

AND

AND

AND

ANDAND

22Example adapted from the RE06 keynote given by John Mylopoulos

Construction Process

Page 23: Goal Modeling - Michigan State Universitycse.msu.edu/~chengb/RE-491/Lectures/06-goal-modeling.pdf · 2006-10-24 · • Identify goals in the following paragraph An Adaptive Regional

RE

© 2006-07 Betty H.C. Cheng. This presentation is available free for non-commercial use with attribution under a creative commons license. 23

Schedulemeeting

Collecttimetables

Bysystem

By person

Collect fromagents

Collect fromusers

Receiverequest

Sendrequest

Minimal conflicts

Good Qualityschedule

Good participation

Minimaldisturbances

Accurateconstraints

Collectioneffort

Matchingeffort

Minimaleffort

Chooseschedule

Manually Automatically

AND

ANDAND

OR OROR

OR OR

OR

+

− −+

+

+

−−

+−

+

AND

AND

AND

ANDAND

Example adapted from the RE06 keynote given by John Mylopoulos

Construction Process

3. Evaluate hardgoal contribution to softgoals

Page 24: Goal Modeling - Michigan State Universitycse.msu.edu/~chengb/RE-491/Lectures/06-goal-modeling.pdf · 2006-10-24 · • Identify goals in the following paragraph An Adaptive Regional

RE

© 2006-07 Betty H.C. Cheng. This presentation is available free for non-commercial use with attribution under a creative commons license.

Integrating Goals with Other Models

24

Page 25: Goal Modeling - Michigan State Universitycse.msu.edu/~chengb/RE-491/Lectures/06-goal-modeling.pdf · 2006-10-24 · • Identify goals in the following paragraph An Adaptive Regional

RE

© 2006-07 Betty H.C. Cheng. This presentation is available free for non-commercial use with attribution under a creative commons license.

Integrated Use of Goals

• KAOS – Refining goals into requirements– 4 models

• Goal• Agent• Operationalization• Object

Page 26: Goal Modeling - Michigan State Universitycse.msu.edu/~chengb/RE-491/Lectures/06-goal-modeling.pdf · 2006-10-24 · • Identify goals in the following paragraph An Adaptive Regional

RE

© 2006-07 Betty H.C. Cheng. This presentation is available free for non-commercial use with attribution under a creative commons license.

KAOS Goal Model

• Agent - active system component• Object - inactive system component• Operation - an action an agent takes to achieve a goal• Requirement - a goal for which an automated component is responsible • Expectation - a goal for which a human is responsible Safe Transportation

Maintain Knowledge of Other Train Locations

Manually Radio Other Train Conductors

Radio Automatically Sense Other Train Locations

TrainRadio Other Train SoftwareSensor

Human

Page 27: Goal Modeling - Michigan State Universitycse.msu.edu/~chengb/RE-491/Lectures/06-goal-modeling.pdf · 2006-10-24 · • Identify goals in the following paragraph An Adaptive Regional

RE

© 2006-07 Betty H.C. Cheng. This presentation is available free for non-commercial use with attribution under a creative commons license.

KAOS Goal Model

• Agent - active system component• Object - inactive system component• Operation - an action an agent takes to achieve a goal• Requirement - a goal for which an automated component is responsible • Expectation - a goal for which a human is responsible Safe Transportation

Maintain Knowledge of Other Train Locations

Manually Radio Other Train Conductors

Radio Automatically Sense Other Train Locations

TrainRadio Other Train SoftwareSensor

Human

Page 28: Goal Modeling - Michigan State Universitycse.msu.edu/~chengb/RE-491/Lectures/06-goal-modeling.pdf · 2006-10-24 · • Identify goals in the following paragraph An Adaptive Regional

RE

© 2006-07 Betty H.C. Cheng. This presentation is available free for non-commercial use with attribution under a creative commons license.

KAOS Goal Model

• Agent - active system component• Object - inactive system component• Operation - an action an agent takes to achieve a goal• Requirement - a goal for which an automated component is responsible • Expectation - a goal for which a human is responsible Safe Transportation

Maintain Knowledge of Other Train Locations

Manually Radio Other Train Conductors

Radio Automatically Sense Other Train Locations

TrainRadio Other Train SoftwareSensor

Human

Page 29: Goal Modeling - Michigan State Universitycse.msu.edu/~chengb/RE-491/Lectures/06-goal-modeling.pdf · 2006-10-24 · • Identify goals in the following paragraph An Adaptive Regional

RE

© 2006-07 Betty H.C. Cheng. This presentation is available free for non-commercial use with attribution under a creative commons license.

KAOS Goal Model

• Agent - active system component• Object - inactive system component• Operation - an action an agent takes to achieve a goal• Requirement - a goal for which an automated component is responsible • Expectation - a goal for which a human is responsible Safe Transportation

Maintain Knowledge of Other Train Locations

Manually Radio Other Train Conductors

Radio Automatically Sense Other Train Locations

TrainRadio Other Train SoftwareSensor

Human

Page 30: Goal Modeling - Michigan State Universitycse.msu.edu/~chengb/RE-491/Lectures/06-goal-modeling.pdf · 2006-10-24 · • Identify goals in the following paragraph An Adaptive Regional

RE

© 2006-07 Betty H.C. Cheng. This presentation is available free for non-commercial use with attribution under a creative commons license.

KAOS Goal Model

• Agent - active system component• Object - inactive system component• Operation - an action an agent takes to achieve a goal• Requirement - a goal for which an automated component is responsible • Expectation - a goal for which a human is responsible Safe Transportation

Maintain Knowledge of Other Train Locations

Manually Radio Other Train Conductors

Radio Automatically Sense Other Train Locations

TrainRadio Other Train SoftwareSensor

Human

Page 31: Goal Modeling - Michigan State Universitycse.msu.edu/~chengb/RE-491/Lectures/06-goal-modeling.pdf · 2006-10-24 · • Identify goals in the following paragraph An Adaptive Regional

RE

© 2006-07 Betty H.C. Cheng. This presentation is available free for non-commercial use with attribution under a creative commons license.

KAOS Goal Model

• Agent - active system component• Object - inactive system component• Operation - an action an agent takes to achieve a goal• Requirement - a goal for which an automated component is responsible • Expectation - a goal for which a human is responsible Safe Transportation

Maintain Knowledge of Other Train Locations

Manually Radio Other Train Conductors

Radio Automatically Sense Other Train Locations

TrainRadio Other Train SoftwareSensor

Human

Page 32: Goal Modeling - Michigan State Universitycse.msu.edu/~chengb/RE-491/Lectures/06-goal-modeling.pdf · 2006-10-24 · • Identify goals in the following paragraph An Adaptive Regional

RE

© 2006-07 Betty H.C. Cheng. This presentation is available free for non-commercial use with attribution under a creative commons license.

KAOS Goal Model

• Agent - active system component• Object - inactive system component• Operation - an action an agent takes to achieve a goal• Requirement - a goal for which an automated component is responsible • Expectation - a goal for which a human is responsible Safe Transportation

Maintain Knowledge of Other Train Locations

Manually Radio Other Train Conductors

Radio Automatically Sense Other Train Locations

TrainRadio Other Train SoftwareSensor

Human

Page 33: Goal Modeling - Michigan State Universitycse.msu.edu/~chengb/RE-491/Lectures/06-goal-modeling.pdf · 2006-10-24 · • Identify goals in the following paragraph An Adaptive Regional

RE

© 2006-07 Betty H.C. Cheng. This presentation is available free for non-commercial use with attribution under a creative commons license.

KAOS Goal Model

• Agent - active system component• Object - inactive system component• Operation - an action an agent takes to achieve a goal• Requirement - a goal for which an automated component is responsible • Expectation - a goal for which a human is responsible Safe Transportation

Maintain Knowledge of Other Train Locations

Manually Radio Other Train Conductors

Radio Automatically Sense Other Train Locations

TrainRadio Other Train SoftwareSensor

Human

Page 34: Goal Modeling - Michigan State Universitycse.msu.edu/~chengb/RE-491/Lectures/06-goal-modeling.pdf · 2006-10-24 · • Identify goals in the following paragraph An Adaptive Regional

RE

© 2006-07 Betty H.C. Cheng. This presentation is available free for non-commercial use with attribution under a creative commons license.

KAOS Goal Model

• Agent - active system component• Object - inactive system component• Operation - an action an agent takes to achieve a goal• Requirement - a goal for which an automated component is responsible • Expectation - a goal for which a human is responsible Safe Transportation

Maintain Knowledge of Other Train Locations

Manually Radio Other Train Conductors

Radio Automatically Sense Other Train Locations

TrainRadio Other Train SoftwareSensor

Human

Page 35: Goal Modeling - Michigan State Universitycse.msu.edu/~chengb/RE-491/Lectures/06-goal-modeling.pdf · 2006-10-24 · • Identify goals in the following paragraph An Adaptive Regional

RE

© 2006-07 Betty H.C. Cheng. This presentation is available free for non-commercial use with attribution under a creative commons license.

KAOS Goal Model

• Agent - active system component• Object - inactive system component• Operation - an action an agent takes to achieve a goal• Requirement - a goal for which an automated component is responsible • Expectation - a goal for which a human is responsible Safe Transportation

Maintain Knowledge of Other Train Locations

Manually Radio Other Train Conductors

Radio Automatically Sense Other Train Locations

TrainRadio Other Train SoftwareSensor

Human

Page 36: Goal Modeling - Michigan State Universitycse.msu.edu/~chengb/RE-491/Lectures/06-goal-modeling.pdf · 2006-10-24 · • Identify goals in the following paragraph An Adaptive Regional

RE

© 2006-07 Betty H.C. Cheng. This presentation is available free for non-commercial use with attribution under a creative commons license.

KAOS Goal Model

• Agent - active system component• Object - inactive system component• Operation - an action an agent takes to achieve a goal• Requirement - a goal for which an automated component is responsible • Expectation - a goal for which a human is responsible Safe Transportation

Maintain Knowledge of Other Train Locations

Manually Radio Other Train Conductors

Radio Automatically Sense Other Train Locations

TrainRadio Other Train SoftwareSensor

Human

Page 37: Goal Modeling - Michigan State Universitycse.msu.edu/~chengb/RE-491/Lectures/06-goal-modeling.pdf · 2006-10-24 · • Identify goals in the following paragraph An Adaptive Regional

RE

© 2006-07 Betty H.C. Cheng. This presentation is available free for non-commercial use with attribution under a creative commons license.

KAOS Agent Model

• Objective: depicts agent responsibilities• Agent models can be inferred from goal models

27

Goal Model

Sensor

Maintain Knowledge of Other Train Locations

Manually Radio Other Train Conductors

Automatically Sense Other Train Locations

Manually Radio Other Train Conductors

SoftwareSensor

Human

Automatically Sense Other Train Locations

Software

Human

Goal Model Agent Model

Page 38: Goal Modeling - Michigan State Universitycse.msu.edu/~chengb/RE-491/Lectures/06-goal-modeling.pdf · 2006-10-24 · • Identify goals in the following paragraph An Adaptive Regional

RE

© 2006-07 Betty H.C. Cheng. This presentation is available free for non-commercial use with attribution under a creative commons license.

KAOS Agent Model

• Objective: depicts agent responsibilities• Agent models can be inferred from goal models

27

Goal Model

Sensor

Maintain Knowledge of Other Train Locations

Manually Radio Other Train Conductors

Automatically Sense Other Train Locations

Manually Radio Other Train Conductors

SoftwareSensor

Human

Automatically Sense Other Train Locations

Software

HumanHuman

Manually Radio Other Train Conductors

Goal Model Agent Model

Page 39: Goal Modeling - Michigan State Universitycse.msu.edu/~chengb/RE-491/Lectures/06-goal-modeling.pdf · 2006-10-24 · • Identify goals in the following paragraph An Adaptive Regional

RE

© 2006-07 Betty H.C. Cheng. This presentation is available free for non-commercial use with attribution under a creative commons license.

KAOS Agent Model

• Objective: depicts agent responsibilities• Agent models can be inferred from goal models

27

Goal Model

Sensor

Maintain Knowledge of Other Train Locations

Manually Radio Other Train Conductors

Automatically Sense Other Train Locations

Manually Radio Other Train Conductors

SoftwareSensor

Human

Automatically Sense Other Train Locations

Software

Human

Goal Model Agent Model

Page 40: Goal Modeling - Michigan State Universitycse.msu.edu/~chengb/RE-491/Lectures/06-goal-modeling.pdf · 2006-10-24 · • Identify goals in the following paragraph An Adaptive Regional

RE

© 2006-07 Betty H.C. Cheng. This presentation is available free for non-commercial use with attribution under a creative commons license.

KAOS Agent Model

• Objective: depicts agent responsibilities• Agent models can be inferred from goal models

27

Goal Model

Sensor

Maintain Knowledge of Other Train Locations

Manually Radio Other Train Conductors

Automatically Sense Other Train Locations

Manually Radio Other Train Conductors

SoftwareSensor

Human

Automatically Sense Other Train Locations

Software

HumanManually Radio Other Train Conductors

Alert Passengers to Delays

Human

Manually Slow the Train

Goal Model Agent Model

Page 41: Goal Modeling - Michigan State Universitycse.msu.edu/~chengb/RE-491/Lectures/06-goal-modeling.pdf · 2006-10-24 · • Identify goals in the following paragraph An Adaptive Regional

RE

© 2006-07 Betty H.C. Cheng. This presentation is available free for non-commercial use with attribution under a creative commons license.

KAOS Agent Model

• Objective: depicts agent responsibilities• Agent models can be inferred from goal models

27

Goal Model

Sensor

Maintain Knowledge of Other Train Locations

Manually Radio Other Train Conductors

Automatically Sense Other Train Locations

Manually Radio Other Train Conductors

SoftwareSensor

Human

Automatically Sense Other Train Locations

Software

Human

Goal Model Agent Model

Page 42: Goal Modeling - Michigan State Universitycse.msu.edu/~chengb/RE-491/Lectures/06-goal-modeling.pdf · 2006-10-24 · • Identify goals in the following paragraph An Adaptive Regional

RE

© 2006-07 Betty H.C. Cheng. This presentation is available free for non-commercial use with attribution under a creative commons license.

KAOS Operationalization Model• Objective: specifies the operations that agents must

perform to achieve the goals

28Door

Safe Transportation

Train Doors Closed While Moving

Train Begins to Move

Close Door

Close Door Request

Page 43: Goal Modeling - Michigan State Universitycse.msu.edu/~chengb/RE-491/Lectures/06-goal-modeling.pdf · 2006-10-24 · • Identify goals in the following paragraph An Adaptive Regional

RE

© 2006-07 Betty H.C. Cheng. This presentation is available free for non-commercial use with attribution under a creative commons license.

KAOS Operationalization Model• Objective: specifies the operations that agents must

perform to achieve the goals

28Door

Safe Transportation

Train Doors Closed While Moving

Train Begins to Move

Close Door

Close Door Request

Door

Train Doors Closed While Moving

Train Begins to Move

Close Door

Page 44: Goal Modeling - Michigan State Universitycse.msu.edu/~chengb/RE-491/Lectures/06-goal-modeling.pdf · 2006-10-24 · • Identify goals in the following paragraph An Adaptive Regional

RE

© 2006-07 Betty H.C. Cheng. This presentation is available free for non-commercial use with attribution under a creative commons license.

KAOS Object Model• Objective: further specifies objects used in the goal model• The syntax is similar to a that of a UML class diagram

29

TrackSegment

SpeedLimit

Gate

LocStatus

Switch

position

SpeedLoc

Train

Track

hasGateOn

On TrackFollowing

Page 45: Goal Modeling - Michigan State Universitycse.msu.edu/~chengb/RE-491/Lectures/06-goal-modeling.pdf · 2006-10-24 · • Identify goals in the following paragraph An Adaptive Regional

RE

© 2006-07 Betty H.C. Cheng. This presentation is available free for non-commercial use with attribution under a creative commons license.

Integrated Use of Goals

• KAOS – Refining goals into requirements– 4 models

• Goal• Agent• Operationalization• Object

• i*– Relates goals to the organization context– 2 models

• Actor (Strategic) Dependency Model• Actor (Strategic) Rationale Model

Page 46: Goal Modeling - Michigan State Universitycse.msu.edu/~chengb/RE-491/Lectures/06-goal-modeling.pdf · 2006-10-24 · • Identify goals in the following paragraph An Adaptive Regional

RE

© 2006-07 Betty H.C. Cheng. This presentation is available free for non-commercial use with attribution under a creative commons license.

i* Actor Dependency Model• Dependencies between actors - An actor is a black box

31Diagram from Towards Modelling and Reasoning Support for Early-Phase Requirements Engineering by Eric Yu

D

MeetingInitiator

ProposedDate(m)

Agreement(m,p)

AttendsMeeting(ip,m)

Assured(AttendsMeeting(ip,m))

AttendsMeeting(p,m)

MeetingBeScheduled(m)

MeetingScheduler

ImportantParticipant

X

ISA

D

D

DD

D

D

D

D

DD

DD

D

D

D

EnterDateRange (m)

EnterAvailDates (m) Meeting

Participant

D

D

D

D

D

D

D

D

Depender Dependee

LEGEND

O XOpen (uncommitted) Critical

Resource Dependency

Task Dependency

Goal Dependency

Softgoal Dependency

Figure 2: Strategic Dependency model for meetingscheduling with computer-based scheduler

ability information. The meeting initiator does not carehow the scheduler does this, as longer as the acceptabledates are found. This is reflected in the goal dependency of

from the initiator to the scheduler.The scheduler expects the meeting initiator to enter the daterange by following a specific procedure. This is modelledvia a task dependency.

Note that it is still the meeting initiator who dependson participants to attend the meeting. It is the meetinginitiator (not the meeting scheduler) who has a stake inhaving participants attend the meeting. Assurance fromimportant participants that they will attend the meeting istherefore not delegated to the scheduler, but retained as adependency from meeting initiator to important participant.

The SD model models the meeting scheduling process interms of intentional relationships among agents, instead ofthe flow of entities among activities. This allows analysisof opportunity and vulnerability. For example, the abilityof a computer-based meeting scheduler to achieve the goalof represents an opportunity for themeeting initiator not to have to achieve this goal himself.On the other hand, the meeting initiator would become vul-nerable to the failure of the meeting scheduler in achievingthis goal.

2.2 Modelling stakeholder interests and ratio-nales – the Strategic Rationale model

The Strategic Dependency model provides one level ofabstraction for describing organizational environments andtheir embedded information systems. It shows external(but nevertheless intentional) relationships among actors,while hiding the intentional constructs within each actor.As illustrated in the preceding section, the SD model canbe useful in helping understand organizational and systemsconfigurations as they exist, or as proposed new configura-tions.

During early-phase RE, however, one would also like tohave more explicit representation and reasoning about ac-tors’ interests, and how these interests might be addressed

or impacted by different system-and-environment configu-rations – existing or proposed.

In the framework, the Strategic Rationale model pro-vides a more detailed level of modelling by looking “in-side” actors to model internal intentional relationships. In-tentional elements (goals, tasks, resources, and softgoals)appear in the SR model not only as external dependencies,but also as internal elements linked by means-ends relation-ships and task-decompositions (Figure 3). The SR modelin Figure 3 thus elaborates on the relationships between themeeting initiator and meeting participant as depicted in theSD model of Figure 1.

For example, for the meeting initiator, an internal goalis that of . This goal can be met(represented via a means-ends link) by scheduling meet-ings in a certain way, consisting of (represented via task-decomposition links): obtaining availability dates from par-ticipants, finding a suitable date (and time) slot, proposinga meeting date, and obtaining agreement from the partici-pants.

These elements of the task are rep-resented as subgoals, subtasks, or resources depending onthe type of freedom of choice as to how to accomplish them(analogous to the SD model). Thus ,being a subgoal, indicates that it can be achieved in dif-ferent ways. On the other hand, and

refer to specific ways of accomplish-ing these tasks. Similarly, , beingrepresented as a goal, indicates that the meeting initiatorbelieves that there can be more than one way to achieve it(to be discussed in section 2.4, Figure 4).

is itself an element of thehigher-level task of organizing a meeting. Other subgoalsunder that task might include equipment be ordered, or thatreminders be sent (not shown). This task has two addi-tional elements which specify that the organizing of meet-ings should be done quickly and not involve inordinateamounts of effort. These qualitative criteria are modelledas softgoals. These would be used to evaluate (and alsoto help identify) alternative means for achieving ends. Inthis example, we note that the existing way of schedulingmeetings is viewed as contributing negatively towards the

and softgoals.

On the side of the meeting participants, they are ex-pected to do their part in arranging the meeting, and thento attend the meeting. For the participant, arranging themeeting consists primarily of arriving at an agreeable date.This requires them to supply availability information to themeeting initiator, and then to agree to the proposed dates.Participants want selected meeting times to be convenient,and want meeting arranging activities not to present toomany interruptions.

The SR model thus provides a way of modelling stake-holder interests, and how they might be met, and the stake-holders evaluation of various alternatives with respect totheir interests. Task-decomposition links provide a hierar-chical description of intentional elements that make up aroutine. The means-ends links in the SR provides under-standing about why an actor would engage in some tasks,

Page 47: Goal Modeling - Michigan State Universitycse.msu.edu/~chengb/RE-491/Lectures/06-goal-modeling.pdf · 2006-10-24 · • Identify goals in the following paragraph An Adaptive Regional

RE

© 2006-07 Betty H.C. Cheng. This presentation is available free for non-commercial use with attribution under a creative commons license.

i* Actor Dependency Model• Dependencies between actors - An actor is a black box

31Diagram from Towards Modelling and Reasoning Support for Early-Phase Requirements Engineering by Eric Yu

D

MeetingInitiator

ProposedDate(m)

Agreement(m,p)

AttendsMeeting(ip,m)

Assured(AttendsMeeting(ip,m))

AttendsMeeting(p,m)

MeetingBeScheduled(m)

MeetingScheduler

ImportantParticipant

X

ISA

D

D

DD

D

D

D

D

DD

DD

D

D

D

EnterDateRange (m)

EnterAvailDates (m) Meeting

Participant

D

D

D

D

D

D

D

D

Depender Dependee

LEGEND

O XOpen (uncommitted) Critical

Resource Dependency

Task Dependency

Goal Dependency

Softgoal Dependency

Figure 2: Strategic Dependency model for meetingscheduling with computer-based scheduler

ability information. The meeting initiator does not carehow the scheduler does this, as longer as the acceptabledates are found. This is reflected in the goal dependency of

from the initiator to the scheduler.The scheduler expects the meeting initiator to enter the daterange by following a specific procedure. This is modelledvia a task dependency.

Note that it is still the meeting initiator who dependson participants to attend the meeting. It is the meetinginitiator (not the meeting scheduler) who has a stake inhaving participants attend the meeting. Assurance fromimportant participants that they will attend the meeting istherefore not delegated to the scheduler, but retained as adependency from meeting initiator to important participant.

The SD model models the meeting scheduling process interms of intentional relationships among agents, instead ofthe flow of entities among activities. This allows analysisof opportunity and vulnerability. For example, the abilityof a computer-based meeting scheduler to achieve the goalof represents an opportunity for themeeting initiator not to have to achieve this goal himself.On the other hand, the meeting initiator would become vul-nerable to the failure of the meeting scheduler in achievingthis goal.

2.2 Modelling stakeholder interests and ratio-nales – the Strategic Rationale model

The Strategic Dependency model provides one level ofabstraction for describing organizational environments andtheir embedded information systems. It shows external(but nevertheless intentional) relationships among actors,while hiding the intentional constructs within each actor.As illustrated in the preceding section, the SD model canbe useful in helping understand organizational and systemsconfigurations as they exist, or as proposed new configura-tions.

During early-phase RE, however, one would also like tohave more explicit representation and reasoning about ac-tors’ interests, and how these interests might be addressed

or impacted by different system-and-environment configu-rations – existing or proposed.

In the framework, the Strategic Rationale model pro-vides a more detailed level of modelling by looking “in-side” actors to model internal intentional relationships. In-tentional elements (goals, tasks, resources, and softgoals)appear in the SR model not only as external dependencies,but also as internal elements linked by means-ends relation-ships and task-decompositions (Figure 3). The SR modelin Figure 3 thus elaborates on the relationships between themeeting initiator and meeting participant as depicted in theSD model of Figure 1.

For example, for the meeting initiator, an internal goalis that of . This goal can be met(represented via a means-ends link) by scheduling meet-ings in a certain way, consisting of (represented via task-decomposition links): obtaining availability dates from par-ticipants, finding a suitable date (and time) slot, proposinga meeting date, and obtaining agreement from the partici-pants.

These elements of the task are rep-resented as subgoals, subtasks, or resources depending onthe type of freedom of choice as to how to accomplish them(analogous to the SD model). Thus ,being a subgoal, indicates that it can be achieved in dif-ferent ways. On the other hand, and

refer to specific ways of accomplish-ing these tasks. Similarly, , beingrepresented as a goal, indicates that the meeting initiatorbelieves that there can be more than one way to achieve it(to be discussed in section 2.4, Figure 4).

is itself an element of thehigher-level task of organizing a meeting. Other subgoalsunder that task might include equipment be ordered, or thatreminders be sent (not shown). This task has two addi-tional elements which specify that the organizing of meet-ings should be done quickly and not involve inordinateamounts of effort. These qualitative criteria are modelledas softgoals. These would be used to evaluate (and alsoto help identify) alternative means for achieving ends. Inthis example, we note that the existing way of schedulingmeetings is viewed as contributing negatively towards the

and softgoals.

On the side of the meeting participants, they are ex-pected to do their part in arranging the meeting, and thento attend the meeting. For the participant, arranging themeeting consists primarily of arriving at an agreeable date.This requires them to supply availability information to themeeting initiator, and then to agree to the proposed dates.Participants want selected meeting times to be convenient,and want meeting arranging activities not to present toomany interruptions.

The SR model thus provides a way of modelling stake-holder interests, and how they might be met, and the stake-holders evaluation of various alternatives with respect totheir interests. Task-decomposition links provide a hierar-chical description of intentional elements that make up aroutine. The means-ends links in the SR provides under-standing about why an actor would engage in some tasks,

D

MeetingInitiator

ProposedDate(m)

Agreement(m,p)

AttendsMeeting(ip,m)

Assured(AttendsMeeting(ip,m))

AttendsMeeting(p,m)

MeetingBeScheduled(m)

MeetingScheduler

ImportantParticipant

X

ISA

D

D

DD

D

D

D

D

DD

DD

D

D

D

EnterDateRange (m)

EnterAvailDates (m) Meeting

Participant

D

D

D

D

D

D

D

D

Depender Dependee

LEGEND

O XOpen (uncommitted) Critical

Resource Dependency

Task Dependency

Goal Dependency

Softgoal Dependency

Figure 2: Strategic Dependency model for meetingscheduling with computer-based scheduler

ability information. The meeting initiator does not carehow the scheduler does this, as longer as the acceptabledates are found. This is reflected in the goal dependency of

from the initiator to the scheduler.The scheduler expects the meeting initiator to enter the daterange by following a specific procedure. This is modelledvia a task dependency.

Note that it is still the meeting initiator who dependson participants to attend the meeting. It is the meetinginitiator (not the meeting scheduler) who has a stake inhaving participants attend the meeting. Assurance fromimportant participants that they will attend the meeting istherefore not delegated to the scheduler, but retained as adependency from meeting initiator to important participant.

The SD model models the meeting scheduling process interms of intentional relationships among agents, instead ofthe flow of entities among activities. This allows analysisof opportunity and vulnerability. For example, the abilityof a computer-based meeting scheduler to achieve the goalof represents an opportunity for themeeting initiator not to have to achieve this goal himself.On the other hand, the meeting initiator would become vul-nerable to the failure of the meeting scheduler in achievingthis goal.

2.2 Modelling stakeholder interests and ratio-nales – the Strategic Rationale model

The Strategic Dependency model provides one level ofabstraction for describing organizational environments andtheir embedded information systems. It shows external(but nevertheless intentional) relationships among actors,while hiding the intentional constructs within each actor.As illustrated in the preceding section, the SD model canbe useful in helping understand organizational and systemsconfigurations as they exist, or as proposed new configura-tions.

During early-phase RE, however, one would also like tohave more explicit representation and reasoning about ac-tors’ interests, and how these interests might be addressed

or impacted by different system-and-environment configu-rations – existing or proposed.

In the framework, the Strategic Rationale model pro-vides a more detailed level of modelling by looking “in-side” actors to model internal intentional relationships. In-tentional elements (goals, tasks, resources, and softgoals)appear in the SR model not only as external dependencies,but also as internal elements linked by means-ends relation-ships and task-decompositions (Figure 3). The SR modelin Figure 3 thus elaborates on the relationships between themeeting initiator and meeting participant as depicted in theSD model of Figure 1.

For example, for the meeting initiator, an internal goalis that of . This goal can be met(represented via a means-ends link) by scheduling meet-ings in a certain way, consisting of (represented via task-decomposition links): obtaining availability dates from par-ticipants, finding a suitable date (and time) slot, proposinga meeting date, and obtaining agreement from the partici-pants.

These elements of the task are rep-resented as subgoals, subtasks, or resources depending onthe type of freedom of choice as to how to accomplish them(analogous to the SD model). Thus ,being a subgoal, indicates that it can be achieved in dif-ferent ways. On the other hand, and

refer to specific ways of accomplish-ing these tasks. Similarly, , beingrepresented as a goal, indicates that the meeting initiatorbelieves that there can be more than one way to achieve it(to be discussed in section 2.4, Figure 4).

is itself an element of thehigher-level task of organizing a meeting. Other subgoalsunder that task might include equipment be ordered, or thatreminders be sent (not shown). This task has two addi-tional elements which specify that the organizing of meet-ings should be done quickly and not involve inordinateamounts of effort. These qualitative criteria are modelledas softgoals. These would be used to evaluate (and alsoto help identify) alternative means for achieving ends. Inthis example, we note that the existing way of schedulingmeetings is viewed as contributing negatively towards the

and softgoals.

On the side of the meeting participants, they are ex-pected to do their part in arranging the meeting, and thento attend the meeting. For the participant, arranging themeeting consists primarily of arriving at an agreeable date.This requires them to supply availability information to themeeting initiator, and then to agree to the proposed dates.Participants want selected meeting times to be convenient,and want meeting arranging activities not to present toomany interruptions.

The SR model thus provides a way of modelling stake-holder interests, and how they might be met, and the stake-holders evaluation of various alternatives with respect totheir interests. Task-decomposition links provide a hierar-chical description of intentional elements that make up aroutine. The means-ends links in the SR provides under-standing about why an actor would engage in some tasks,

Page 48: Goal Modeling - Michigan State Universitycse.msu.edu/~chengb/RE-491/Lectures/06-goal-modeling.pdf · 2006-10-24 · • Identify goals in the following paragraph An Adaptive Regional

RE

© 2006-07 Betty H.C. Cheng. This presentation is available free for non-commercial use with attribution under a creative commons license.

i* Actor Dependency Model• Dependencies between actors - An actor is a black box

31Diagram from Towards Modelling and Reasoning Support for Early-Phase Requirements Engineering by Eric Yu

D

MeetingInitiator

ProposedDate(m)

Agreement(m,p)

AttendsMeeting(ip,m)

Assured(AttendsMeeting(ip,m))

AttendsMeeting(p,m)

MeetingBeScheduled(m)

MeetingScheduler

ImportantParticipant

X

ISA

D

D

DD

D

D

D

D

DD

DD

D

D

D

EnterDateRange (m)

EnterAvailDates (m) Meeting

Participant

D

D

D

D

D

D

D

D

Depender Dependee

LEGEND

O XOpen (uncommitted) Critical

Resource Dependency

Task Dependency

Goal Dependency

Softgoal Dependency

Figure 2: Strategic Dependency model for meetingscheduling with computer-based scheduler

ability information. The meeting initiator does not carehow the scheduler does this, as longer as the acceptabledates are found. This is reflected in the goal dependency of

from the initiator to the scheduler.The scheduler expects the meeting initiator to enter the daterange by following a specific procedure. This is modelledvia a task dependency.

Note that it is still the meeting initiator who dependson participants to attend the meeting. It is the meetinginitiator (not the meeting scheduler) who has a stake inhaving participants attend the meeting. Assurance fromimportant participants that they will attend the meeting istherefore not delegated to the scheduler, but retained as adependency from meeting initiator to important participant.

The SD model models the meeting scheduling process interms of intentional relationships among agents, instead ofthe flow of entities among activities. This allows analysisof opportunity and vulnerability. For example, the abilityof a computer-based meeting scheduler to achieve the goalof represents an opportunity for themeeting initiator not to have to achieve this goal himself.On the other hand, the meeting initiator would become vul-nerable to the failure of the meeting scheduler in achievingthis goal.

2.2 Modelling stakeholder interests and ratio-nales – the Strategic Rationale model

The Strategic Dependency model provides one level ofabstraction for describing organizational environments andtheir embedded information systems. It shows external(but nevertheless intentional) relationships among actors,while hiding the intentional constructs within each actor.As illustrated in the preceding section, the SD model canbe useful in helping understand organizational and systemsconfigurations as they exist, or as proposed new configura-tions.

During early-phase RE, however, one would also like tohave more explicit representation and reasoning about ac-tors’ interests, and how these interests might be addressed

or impacted by different system-and-environment configu-rations – existing or proposed.

In the framework, the Strategic Rationale model pro-vides a more detailed level of modelling by looking “in-side” actors to model internal intentional relationships. In-tentional elements (goals, tasks, resources, and softgoals)appear in the SR model not only as external dependencies,but also as internal elements linked by means-ends relation-ships and task-decompositions (Figure 3). The SR modelin Figure 3 thus elaborates on the relationships between themeeting initiator and meeting participant as depicted in theSD model of Figure 1.

For example, for the meeting initiator, an internal goalis that of . This goal can be met(represented via a means-ends link) by scheduling meet-ings in a certain way, consisting of (represented via task-decomposition links): obtaining availability dates from par-ticipants, finding a suitable date (and time) slot, proposinga meeting date, and obtaining agreement from the partici-pants.

These elements of the task are rep-resented as subgoals, subtasks, or resources depending onthe type of freedom of choice as to how to accomplish them(analogous to the SD model). Thus ,being a subgoal, indicates that it can be achieved in dif-ferent ways. On the other hand, and

refer to specific ways of accomplish-ing these tasks. Similarly, , beingrepresented as a goal, indicates that the meeting initiatorbelieves that there can be more than one way to achieve it(to be discussed in section 2.4, Figure 4).

is itself an element of thehigher-level task of organizing a meeting. Other subgoalsunder that task might include equipment be ordered, or thatreminders be sent (not shown). This task has two addi-tional elements which specify that the organizing of meet-ings should be done quickly and not involve inordinateamounts of effort. These qualitative criteria are modelledas softgoals. These would be used to evaluate (and alsoto help identify) alternative means for achieving ends. Inthis example, we note that the existing way of schedulingmeetings is viewed as contributing negatively towards the

and softgoals.

On the side of the meeting participants, they are ex-pected to do their part in arranging the meeting, and thento attend the meeting. For the participant, arranging themeeting consists primarily of arriving at an agreeable date.This requires them to supply availability information to themeeting initiator, and then to agree to the proposed dates.Participants want selected meeting times to be convenient,and want meeting arranging activities not to present toomany interruptions.

The SR model thus provides a way of modelling stake-holder interests, and how they might be met, and the stake-holders evaluation of various alternatives with respect totheir interests. Task-decomposition links provide a hierar-chical description of intentional elements that make up aroutine. The means-ends links in the SR provides under-standing about why an actor would engage in some tasks,

Page 49: Goal Modeling - Michigan State Universitycse.msu.edu/~chengb/RE-491/Lectures/06-goal-modeling.pdf · 2006-10-24 · • Identify goals in the following paragraph An Adaptive Regional

RE

© 2006-07 Betty H.C. Cheng. This presentation is available free for non-commercial use with attribution under a creative commons license.

i* Actor Rationale Model

32

• Internal actor relationships - An actor is a white box

Agreeable(Meeting,Date)

AgreeTo Date

Convenient(Meeting,Date)

ProposedDate

Agreement

ObtainAgreement

ObtainAvailDates

FindAgreeable Slot

MergeAvailDates

Quick MeetingBe Scheduled

ScheduleMeeting

AttendMeeting

ParticipateInMeeting

LetScedulerScheduleMeeting

ScheduleMeeting

MeetingInitiator

MeetingSchedulerMeetingBe

Scheduled

FindAgreeableDateUsingScheduler

FindAgreeableDateByTalkingToInitiator

Quality(ProposedDate)

UserFriendly

ArrangeMeeting

RicherMedium

EnterAvailDates

OrganizeMeeting

MeetingParticipant

AttendsMeeting

EnterDateRange

D

D

D

D

DD

D D

DD

D

D

+!

!+

+

!

+

+! +

+

LEGEND

Goal

Task

Resource

Soft!Goal

Task!Decompo! sition linkMeans!ends link

Contribution to softgoalsActor

Actor Boundary

+!

LowEffort

LowEffort

Figure 4: Strategic Rationale model for a computer-supported meeting scheduling configuration

justified by the belief that it is in their own interests to doso (e.g., programmers who want their code to pass a re-view). The evaluation of these goal graphs (or justificationnetworks) is supported by graph propagation algorithmsfollowing a qualitative reasoning framework [8] [42].

2.4 Supporting design during early-phase RE

During early-phase RE, the requirements engineer as-sists stakeholders in identifying system-and-environmentconfigurations that meet their needs. This is a process ofdesign on a higher level than the design of the technicalsystem per se. In analysis, alternatives are evaluated withrespect to goals. In design, goals can be used to help gen-erate potential solutions systematically.

In , the SR model allows us to raise ability, workabil-ity, and viability as issues that need to be addressed. Usingmeans-ends reasoning, these issues can be addressed sys-tematically, resulting in new configurations that are then tobe evaluated and compared. Means-ends rules that encodeknowhow in the domain can be used to suggest possible al-ternatives. Issues and stakeholders that are cross-impactedmay be discovered during this process, and can be raisedso that trade-offs can be made. Issues are settled whenthey are deemed to adequately addressed by stakeholders.Once settled, one can then proceed from the descriptive

model of the framework to a prescriptive model thatwould serve as the requirements specification for systemsdevelopment. Believability can also be raised as an issue,so that assumptions would be justified.

In analyzing the SR model of Figure 3, it isfound that the meeting initiator is dissatisfied with the

One approach to this is described in [40].

amount of effort needed to schedule a meeting, andhow quickly a meeting can be scheduled. These areraised as the issues and

.

Since the meeting initiator’s existing routine for schedul-ing meetings is deemed unviable, one would need to lookfor new routines. This is done by raising the meeting initia-tor’s ability to schedule meetings as an issue. To addressthis issue, one could try to come up with solutions withoutspecial assistance, or one could look up rules (in a knowl-edge base) that may be applicable. Suppose a rule is foundwhose purpose is and whose howattribute is .

This represents knowledge that the initiator has aboutsoftware scheduler systems, their abilities, and their plat-form requirements. The rule helps discover that the meet-ing initiator can delegate the subgoal of meeting schedulingto the (computer-based) meeting scheduler. This consti-tutes a routine for the meeting initiator.

Using a meeting scheduler, however, requires partici-

Diagram from Towards Modelling and Reasoning Support for Early-Phase Requirements Engineering by Eric Yu

Page 50: Goal Modeling - Michigan State Universitycse.msu.edu/~chengb/RE-491/Lectures/06-goal-modeling.pdf · 2006-10-24 · • Identify goals in the following paragraph An Adaptive Regional

RE

© 2006-07 Betty H.C. Cheng. This presentation is available free for non-commercial use with attribution under a creative commons license.

i* Actor Rationale Model

32

• Internal actor relationships - An actor is a white box

Agreeable(Meeting,Date)

AgreeTo Date

Convenient(Meeting,Date)

ProposedDate

Agreement

ObtainAgreement

ObtainAvailDates

FindAgreeable Slot

MergeAvailDates

Quick MeetingBe Scheduled

ScheduleMeeting

AttendMeeting

ParticipateInMeeting

LetScedulerScheduleMeeting

ScheduleMeeting

MeetingInitiator

MeetingSchedulerMeetingBe

Scheduled

FindAgreeableDateUsingScheduler

FindAgreeableDateByTalkingToInitiator

Quality(ProposedDate)

UserFriendly

ArrangeMeeting

RicherMedium

EnterAvailDates

OrganizeMeeting

MeetingParticipant

AttendsMeeting

EnterDateRange

D

D

D

D

DD

D D

DD

D

D

+!

!+

+

!

+

+! +

+

LEGEND

Goal

Task

Resource

Soft!Goal

Task!Decompo! sition linkMeans!ends link

Contribution to softgoalsActor

Actor Boundary

+!

LowEffort

LowEffort

Figure 4: Strategic Rationale model for a computer-supported meeting scheduling configuration

justified by the belief that it is in their own interests to doso (e.g., programmers who want their code to pass a re-view). The evaluation of these goal graphs (or justificationnetworks) is supported by graph propagation algorithmsfollowing a qualitative reasoning framework [8] [42].

2.4 Supporting design during early-phase RE

During early-phase RE, the requirements engineer as-sists stakeholders in identifying system-and-environmentconfigurations that meet their needs. This is a process ofdesign on a higher level than the design of the technicalsystem per se. In analysis, alternatives are evaluated withrespect to goals. In design, goals can be used to help gen-erate potential solutions systematically.

In , the SR model allows us to raise ability, workabil-ity, and viability as issues that need to be addressed. Usingmeans-ends reasoning, these issues can be addressed sys-tematically, resulting in new configurations that are then tobe evaluated and compared. Means-ends rules that encodeknowhow in the domain can be used to suggest possible al-ternatives. Issues and stakeholders that are cross-impactedmay be discovered during this process, and can be raisedso that trade-offs can be made. Issues are settled whenthey are deemed to adequately addressed by stakeholders.Once settled, one can then proceed from the descriptive

model of the framework to a prescriptive model thatwould serve as the requirements specification for systemsdevelopment. Believability can also be raised as an issue,so that assumptions would be justified.

In analyzing the SR model of Figure 3, it isfound that the meeting initiator is dissatisfied with the

One approach to this is described in [40].

amount of effort needed to schedule a meeting, andhow quickly a meeting can be scheduled. These areraised as the issues and

.

Since the meeting initiator’s existing routine for schedul-ing meetings is deemed unviable, one would need to lookfor new routines. This is done by raising the meeting initia-tor’s ability to schedule meetings as an issue. To addressthis issue, one could try to come up with solutions withoutspecial assistance, or one could look up rules (in a knowl-edge base) that may be applicable. Suppose a rule is foundwhose purpose is and whose howattribute is .

This represents knowledge that the initiator has aboutsoftware scheduler systems, their abilities, and their plat-form requirements. The rule helps discover that the meet-ing initiator can delegate the subgoal of meeting schedulingto the (computer-based) meeting scheduler. This consti-tutes a routine for the meeting initiator.

Using a meeting scheduler, however, requires partici-

Diagram from Towards Modelling and Reasoning Support for Early-Phase Requirements Engineering by Eric Yu

Agreeable(Meeting,Date)

AgreeTo Date

Convenient(Meeting,Date)

ProposedDate

Agreement

ObtainAgreement

ObtainAvailDates

MergeAvailDates

AttendMeeting

ParticipateInMeeting

ScheduleMeeting

MeetingInitiator

Quality(ProposedDate)

UserFriendly

ArrangeMeeting

MeetingParticipant

AttendsMeeting

DD

D D

DD

D D

+

!

Quick MeetingBe Scheduled

OrganizeMeeting

!!

+

!

++

PreferredDates

ExclusionsDatesD D

MinInterruption

LowEffort

LowEffort

FindAgreeableDate

FindSuitable Slot

LEGEND

Goal

Task

Resource

Soft!Goal

Task!Decompo! sition linkMeans!ends link

Contribution to softgoalsActor

Actor Boundary

+!

Figure 3: A Strategic Rationale model for meeting scheduling, before considering computer-based meeting scheduler

pursue a goal, need a resource, or want a softgoal. From thesoftgoals, one can tell why one alternative may be chosenover others. For example, availability information in theform of exclusion sets and preferred sets are collected soas to minimize the number of rounds and thus to minimizeinterruption to participants.

2.3 Supporting analysis during early-phase RE

While requirements analysis traditionally aims to iden-tify and eliminate incompleteness, inconsistencies, and am-biguities in requirements specifications, the emphasis inearly-phase RE is instead on helping stakeholders gain bet-ter understanding of the various possibilities for using in-formation systems in their organization, and of the impli-

cations of different alternatives. The models offer anumber of levels of analysis, in terms of ability, workabil-ity, viability and believability. These are detailed in [39]and briefly outlined here.

When a meeting initiator has a routine to organize ameeting, we say that he is able to organize a meeting. Anactor who is able to organize one type of meeting (say, aproject group meeting) is not necessarily able to organizeanother type of meeting (e.g., the annual general meetingfor the corporation). One needs to know what subtask,subgoals, resources are required, and what softgoals arepertinent.

Given a routine, one can analyze it for workability andviability. Organizing meeting is workable if there is aworkable routine for doing so. To determine workability,one needs to look at the workability of each element – forexample, that the meeting initiator can obtaining availabil-ity information from participants, can find agreeable dates,and can obtain agreements from participants. If the work-

ability of an element cannot be judged primitively by theactor, then it needs to be further reduced. If the subgoal

is not primitively workable, it willneed to be elaborated in terms of a particular way for achiev-ing it. For example, one possible means for achieving itis to do an intersection of the availability information fromall participants. If this task is judged to be workable, thenthe goal node would be workable. Atask can be workable by way of external dependencies onother actors. The workability of and

are evaluated in terms of the workabil-ity of the commitment of meeting participants to providesavailability information and agreement. A more detailedcharacterization of these concepts are given in [39].

A routine that is workable is not necessarily viable. Al-though computing intersection of time slots by hand is pos-sible, it is slow and error-prone. Potentially good slots maybe missed. When softgoals are not satisficed, the routineis not viable. Note that a routine which is not viable fromone actor’s perspective may be viable from another actor’sperspective. For example, the existing way of arrangingfor meetings may be viable for participants, if the resultingmeeting dates are convenient, and the meeting arrangementefforts do not involve too much interruption of work.

The assessment of workability and viability is based onmany beliefs and assumptions. These can be provided asjustifications for the assessment. The believability of therationale network can be analyzed by checking the networkof justifications for the beliefs. For example, the argumentthat “finding agreeable dates by merging available dates”is workable may be justified with the assertion that themeeting initiator has been doing it this way for years, andit works. The belief that meeting participants will supplyavailability information and agree to meeting dates may be

Page 51: Goal Modeling - Michigan State Universitycse.msu.edu/~chengb/RE-491/Lectures/06-goal-modeling.pdf · 2006-10-24 · • Identify goals in the following paragraph An Adaptive Regional

RE

© 2006-07 Betty H.C. Cheng. This presentation is available free for non-commercial use with attribution under a creative commons license.

i* Actor Rationale Model

32

• Internal actor relationships - An actor is a white box

Agreeable(Meeting,Date)

AgreeTo Date

Convenient(Meeting,Date)

ProposedDate

Agreement

ObtainAgreement

ObtainAvailDates

FindAgreeable Slot

MergeAvailDates

Quick MeetingBe Scheduled

ScheduleMeeting

AttendMeeting

ParticipateInMeeting

LetScedulerScheduleMeeting

ScheduleMeeting

MeetingInitiator

MeetingSchedulerMeetingBe

Scheduled

FindAgreeableDateUsingScheduler

FindAgreeableDateByTalkingToInitiator

Quality(ProposedDate)

UserFriendly

ArrangeMeeting

RicherMedium

EnterAvailDates

OrganizeMeeting

MeetingParticipant

AttendsMeeting

EnterDateRange

D

D

D

D

DD

D D

DD

D

D

+!

!+

+

!

+

+! +

+

LEGEND

Goal

Task

Resource

Soft!Goal

Task!Decompo! sition linkMeans!ends link

Contribution to softgoalsActor

Actor Boundary

+!

LowEffort

LowEffort

Figure 4: Strategic Rationale model for a computer-supported meeting scheduling configuration

justified by the belief that it is in their own interests to doso (e.g., programmers who want their code to pass a re-view). The evaluation of these goal graphs (or justificationnetworks) is supported by graph propagation algorithmsfollowing a qualitative reasoning framework [8] [42].

2.4 Supporting design during early-phase RE

During early-phase RE, the requirements engineer as-sists stakeholders in identifying system-and-environmentconfigurations that meet their needs. This is a process ofdesign on a higher level than the design of the technicalsystem per se. In analysis, alternatives are evaluated withrespect to goals. In design, goals can be used to help gen-erate potential solutions systematically.

In , the SR model allows us to raise ability, workabil-ity, and viability as issues that need to be addressed. Usingmeans-ends reasoning, these issues can be addressed sys-tematically, resulting in new configurations that are then tobe evaluated and compared. Means-ends rules that encodeknowhow in the domain can be used to suggest possible al-ternatives. Issues and stakeholders that are cross-impactedmay be discovered during this process, and can be raisedso that trade-offs can be made. Issues are settled whenthey are deemed to adequately addressed by stakeholders.Once settled, one can then proceed from the descriptive

model of the framework to a prescriptive model thatwould serve as the requirements specification for systemsdevelopment. Believability can also be raised as an issue,so that assumptions would be justified.

In analyzing the SR model of Figure 3, it isfound that the meeting initiator is dissatisfied with the

One approach to this is described in [40].

amount of effort needed to schedule a meeting, andhow quickly a meeting can be scheduled. These areraised as the issues and

.

Since the meeting initiator’s existing routine for schedul-ing meetings is deemed unviable, one would need to lookfor new routines. This is done by raising the meeting initia-tor’s ability to schedule meetings as an issue. To addressthis issue, one could try to come up with solutions withoutspecial assistance, or one could look up rules (in a knowl-edge base) that may be applicable. Suppose a rule is foundwhose purpose is and whose howattribute is .

This represents knowledge that the initiator has aboutsoftware scheduler systems, their abilities, and their plat-form requirements. The rule helps discover that the meet-ing initiator can delegate the subgoal of meeting schedulingto the (computer-based) meeting scheduler. This consti-tutes a routine for the meeting initiator.

Using a meeting scheduler, however, requires partici-

Diagram from Towards Modelling and Reasoning Support for Early-Phase Requirements Engineering by Eric Yu