330 likes | 367 Views
Learn about entity-relation-based techniques for task analysis, including classifying objects, analyzing attributes, identifying actions and events, and understanding relationships between objects and actions.
E N D
CMPUT 301: Lecture 16Task Analysis II Lecturer: Martin Jagersand Department of Computing Science University of Alberta Notes based on previous courses by Ken Wong, Eleni Stroulia Zach Dodds, Martin Jagersand
Overview: • Last time: • Hierarchical analysis • Temporal plans • Knowledge based analysis • Today: • Entity-relation based analysis • Using several of the above together
Entity-Relation-Based Techniques • Understanding objects and actions: • list all objects involved • focus on the relationships between objects and actions, rather than similarities • link actions with objects which help perform them • “object-based”
Entity-Relation-Based Techniques • Objects of gardening firm: • tool shed with spade, garden fork, hoe • Ferguson tractor, with plow and harrow • owner (Vera) • two employees (Sam and Tony) • two growing fields • large glasshouse with humidity sensor • computer-controlled irrigation system The kit team
Entity-Relation-Based Techniques • Classify objects into three types: • simple objects • “things” • e.g., spade, plow, glasshouse • actors • humans and non-humans that do things • e.g., Vera, Sam, Tony, Fergie, computer • composite objects • objects which consist of other objects • e.g., team, men, kit
Entity-Relation-Based Techniques • Look at some attributes of objects: • Object Pump3 simple — irrigation pump • Attributes • status: on/off/faulty • capacity: 100 litres/minute
Entity-Relation-Based Techniques • Only enough detail about attributes to describe their use in tasks: • Actions are e.g., • turning on and off irrigation pumps, done by user actor • may not need pump capacity • only needed by repairman for replacement • We can drop unwanted details later.
Entity-Relation-Based Techniques • Look at actions that change the state of something: • agent (often an actor), action, patient • associated attributes • e.g., • Sam planted carrots • gardener dug soil with spade • irrigation controller turning on water
Entity-Relation-Based Techniques • Message actions: • communication • perhaps in prelude to another action • e.g., • Vera telling Sam to dig the carrots
Entity-Relation-Based Techniques • Identify roles: • actors fill in specific roles • an actor can have multiple roles • a role can have multiple actors • e.g., • Vera as worker • Vera as manager • Sam as worker
Entity-Relation-Based Techniques • Object Sam human actor • Actions • s1: drive tractor • s2: dig the carrots • Object Vera human actor • Actions as worker • v1: plant seed • v2: program irrigation controller • Actions as manager • v3: tell Sam to dig the carrots
Entity-Relation-Based Techniques • Object the men composite • Comprises • {Sam, Tony} • Object glasshouse simple • Attribute • humidity: 0–100%
Entity-Relation-Based Techniques • Object Irrigation Controller non-human actor • Actions • ic1: turn on Pump1 • ic2: turn on Pump2 • ic3: turn on Pump3
Entity-Relation-Based Techniques • Identify events: • things that happen • Different types e.g., • germination of “seed”(spontaneous action of seed, non-actor) • humidity drops below 25%(no associated object) • at midnight(timed)
Entity-Relation-Based Techniques • Identify relationships between objects, actions, and events: • object to object • e.g., Sam is subordinate to Vera • action to object • e.g., (Sam) digs the carrots
Entity-Relation-Based Techniques • Relations object–object • located in: ( Pump3, glasshouse ) • located in: ( Pump1, Field1 )
Entity-Relation-Based Techniques • Relations action–object • patient ( v3, Sam ) • i.e., Vera tells Sam to dig • patient ( s2, the carrots ) • i.e., Sam digs the carrots • instrument ( s2, spade ) • i.e., Sam digs the carrots with the spade
Entity-Relation-Based Techniques • Relations action–event • before ( v1, m1 ) • i.e., seed must be sown before it can germinate • triggers ( ev1, ic3 ) • i.e., when humidity drops below 25%, the controller turns on pump 3 • causes ( v2, ic1 ) • i.e., the controller turns on pump 1 because Vera programmed it • etc.
Combining Approaches • 0 To grow carrots • 1 Vera sows the seed • 2 seed germinates • 3 Vera programs controller • 4 controller waters field • 5 carrots grow • 6 Sam hoes • 7 Tony harvests carrots
Combining Approaches • Plans: • plan 0 • do 1, 2, 5, when crop is mature do 7 • when rainfall is low, do 3, 4 • when weeds grow, do 6
Combining Approaches Combining Approaches • Look at a particular object and all the actions in which it participates: • life cycle diagram • many tasks
Combining Approaches • Use knowledge-based (taxonomic) analysis: • identify commonalities of actions and relations • build inheritance hierarchy • “object-oriented” • e.g., Sam and Tony could do some things in common
Sources of Information • Need to collect information about tasks from various sources: • documentation • observation • initial analysis • sorting and classification
Sources of Task Information • Documentation: • e.g., existing manuals, training materials, job descriptions • job descriptions may only describe what people are supposed to do, not what they actually do • equipment manuals may only describe functions or features, not tasks
Sources of Task Information • Observation: • formal or informal • in the field on in the lab • passive or active • note taking • video taping • talk aloud • walkthroughs • confirm task analyses
Sources of Task Information • Interviews: • pose questions to domain experts directly • follow up on responses with more questions, for more detail
Sources of Task Information • Initial analysis: • following on from manuals, observation, or interviews • build lists of objects (nouns) and actions (verbs)
Sources of Task Information • Sorting and classification: • use note cards of task objects • have a domain expert sort cards into piles by similarity • use spatial arrangement • compare groupings among experts • use an outliner
Uses of Task Analysis • Manuals: • use hierarchical task analysis to structure training materials(“how to do it”) • use knowledge-based techniques to structure a course or textbook(concepts and foundations)
Uses of Task Analysis • Requirements capture: • task analysis of existing procedures • help in eliciting what the new system must do and guiding its design • how the system is used versus what the system does • compare new and old procedures
Uses of Task Analysis • Detailed interface design: • use task decomposition trees to design menus and layout dialogs • or use roles and tasks within each role to design menus • or use objects and what can be done to it to design menus • use taxonomies for grouping • avoid too much “movement”
End • What did I learn today? • What questions do I still have?