Cogsci Tutorial02
Cogsci Tutorial02
Cogsci Tutorial02
APEX/CPM-GOMS
An Architecture for Modeling Huma Performance in Applied HCI Domain
Roger Remingto, Bonnie J*,hn lonsoera n o A V , , eed Da Michael atessa , & Michael FrMichael lal M , s 2a Robert HarriEric Dahlm, n
NASA Ames Research Center *Carnegie Mellon University 2Colorado State University
,
7 August 2002
Enough to allow you to refine the models suppl write simple models for HCI tasks
7 August 2002
Fair warning
Apex is still a research tool
The models supplied will run but are not guaranteed to ma correct predictions We are still learning about how to use the architecture t important classes of HCI tasks (e.g. typing) The Apex architecture will change as a result of bug fixe features to make it easier to use
7 August 2002
Schedule
Overview of APEX & CPM-GOMS - - - B r e a k ( ~ 1 0 : 3 0 - 1 0 : 4 5 ) -(9:30 - 10:00) CPM-GOMS Text editing world (10:00 KLM-GOMS
CPM-GOMS Templates 11:45) Resource scheduling in Apex World building
Basic Apex functionality Sequential execution Further exploration of Primitive operators in Apex unctionality (11:45 f
Apex 12:15 )
Procedure Description Language (PDL) Wrap-Up (12:15 - 12:30) CMN-GOMS Overview of CD ROM & Web
Hierarchical task decompositionPage in Apex Q & A Selection rules Feedback
7 August 2002
Software System Implemented inNo automatic resource schedulin Lisp Theory of Human Resources No built-in theory of Human (Cognitive, Perceptual, Motor) Resource Interaction
7 August 2002
Apex Apex
7 August 2002
Time Pressure: sers must make timely inputs U Multitasking Users juggle multiple tasks : S Predictability imilar patterns occur over time : Unpredictability nterruptions occur : I Mixed-initiativeecision authority distributed, includes : D other users and automated systems
7 August 2002 Cognitive Science 2002 Fairfax, VA 7
Motivations
Construct a modeling system that can make usef predictions about skilled operator behavior i complex dynamic environments Make cognitive modeling more accessible to non specialists, especially in the design phase
Reduce model development time Simplified cognitive architecture Reusable packets of psychological theory that can attach standard task analysis (templates)
7 August 2002
Resource Allocation
Apex simulates an agent planning and scheduling limited resources to accomplish multiple task A multi-tasking agent must allocate resources proactively and reactively
Mechanisms for task suspension and recovery Mechanisms for parallel task execution subject to resource and constraints logical dependencies
These mechanisms are also important for HCI predictions that arise from the interleaving o primitive cognitive, pe, c& pmotor cts r e tuala
7 August 2002
Sim -
7 August 2002
10
GOM S
O A L S P E R A T O R S E T H O D S E L E C T I O N
See the following paper on your CD or the Apex ftp site: John, B. E. (in preparation) Information Processing and Skilled Behavior, John M. Carroll (ed.), Toward a multidisciplinary science of human computer interaction. Morgan Kaufman.
7 August 2002 Cognitive Science 2002 Fairfax, VA 11
GOMS Components
Task Analysis
Goals Task decomposed into nested hierarchy of go : and subgoals Operators Hierarchy terminates in operators, whose : actions cause transitions between states Methods: Sequences of operators executed to accomplish a set of subgoals Selection Rules : Rules that determine which method to use
Performance Computation
Operator execution takes time Sequence of operators determines sequence of over behaviors and task time
Cognitive Science 2002 Fairfax, VA
7 August 2002
12
Varieties of GOMS
Keystroke-Level-Model (KLM)
Flat task structure Mentally prepare coupled with primitive
Cognitive-Perceptual-Motor (CPM-GOMS)
Combines hierarchical goal decomposition with primitive CPM resources based on Model Human Processor
7 August 2002
13
7 August 2002
14
7 August 2002
15
Highlight text
7 August 2002
16
7 August 2002
17
C Select ut
7 August 2002
18
7 August 2002
19
E Select dit
7 August 2002
20
Select aste P
7 August 2002
21
Edit complete
7 August 2002
22
7 August 2002
23
7 August 2002
24
KLM model
Description Operator Mentally prepare (Heuristic Rule 0) M Move cursor to quick (Heuristic Rule 1) P Double-click mouse button K Move cursor to brown (Heuristic Rule 1) P Shift-click mouse button K Mentally prepare (Heuristic Rule 0) M Move cursor to Edit menu (Heuristic Rule 1) P Click mouse button K Move cursor to Cut menu item (Heuristic Rule 1) P Click mouse button K Mentally prepare (Heuristic Rule 0) M Move cursor to before fox (Heuristic Rule 1) P Click mouse button K Mentally prepare (Heuristic Rule 0) M Move cursor to Edit menu (Heuristic Rule 1) P Click mouse button K Move cursor to Paste menu item (Heuristic Rule 1) P Click mouse button K TOTAL PREDICTED TIME
7 August 2002 Cognitive Science 2002 Fairfax, VA
Duration (sec) 1.35 1.10 0.40 1.10 0.40 1.35 1.10 0.20 1.10 0.20 1.35 1.10 0.20 1.35 1.10 0.20 1.10 0.20 14.90
25
7 August 2002
26
stop is a special command stop is a special command to terminate the to terminate the simulation simulation
Cognitive Science 2002 Fairfax, VA
7 August 2002
27
Primitive procedures
The default:isncurrent : co The defaultconcurrent is
(procedure (index (mentally-prepare ?activity)) (profile memory) (step s1 (start-activity memory memory-act :duration 1350 => ?a)) (step s2 (terminate) (waitfor (completed ?a))))
Procedures that us Procedures that us resources must conta resources must conta " profi" eclause p l " rofi" eclause l
(procedure (index (move-cursor-1100 ?target)) (profile right-hand) (step s1 (start-activity right-hand mouse-move-act :object ?target :duration 1100 => ?a)) (step t (terminate) (waitfor (completed ?a))))
" termina" egenerates an t " erminate generates an t " event signalling end the event signalling end the of a procedure of a procedure
Duration specifies the time t Duration specifies the time t " waitf"rspecifies conditions by this activity to complete w o " aitfor specifies conditions by this activity to complete " by previous research for step execution by previous research for step execution
7 August 2002 Cognitive Science 2002 Fairfax, VA 28
Running Apex
7 August 2002
29
RunningSherpa
Start Sherpa by by Start Sherpa clicking the clicking the "Start" button "Start" button
7 August 2002
30
m Simworld enu
Click here Click here to see to see available available simworlds simworlds
7 August 2002
31
SelectF" xKLM" from the Fo SelectoxKLM" from the " list. The name of the list. The name of the simworldmust be in the simworldmust be in the a dlis s s " allworl.li"pfile. " llworl.ds "pfile.
7 August 2002
32
7 August 2002
33
KLM trace
7 August 2002
34
Double-click on the Double-click on the "Task" label to label to "Task" inspect a task inspect a task
7 August 2002
35
Click here to Click here to generate a generate a PERT chart PERT chart
7 August 2002
36
7 August 2002
37
CMN-GOMS : CMN-GOMS : Hierarchical task decomposit Hierarchical task decomposi in Apex in Apex
7 August 2002
38
e.g., ituni -ts , acui e- nittas , ed - t a k q r u - k execut - nittaskmo di y t xt eu , f -e , ver fy edi, m ve-t xt c t-ext, i - t o e ,u t paste te t - x, e.g., f te by movi wor ,or modi y xt ng ds del ng p asesor i er i wor ; eti hr , ns t ng ds hi i ghlght te as a ph e,or as xt ras ar tra y t xt bi r e , e.g., he ext to h i ed is a i t t f be i ght ghl phr ase mad up of w ds us e or , e hi hlght- hr secom pr s d- f wo rds, g i p a ie o r ta y e el s hi hlght-abi r r -t xt se u g i e
M et ods h
e i Sel ct on
7 August 2002
39
Top-level GOMS
goal: edit-manuscript . goal: edit-unit-task ... repeat until no more unit tasks . . goal: acquire unit-task ... remembered if task not . . goal: execute-unit-task ... if a unit task was found
7 August 2002
40
Top-level GOMS
goal: edit-manuscript . goal: edit-unit-task ... repeat until no more unit tasks . . goal: acquire unit-task ... remembered if task not . . goal: turn-page at end of manuscript page . ... if . . goal: get-from-manuscript . if a unit task was found . . goal: execute-unit-task ...
7 August 2002
41
Top-level GOMS
goal: edit-manuscript . goal: edit-unit-task ... repeat until no more unit tasks . . goal: acquire unit-task ... remembered if task not . . . goal: turn-page ... if at end of manuscript page . . . goal: get-from-manuscript if a unit task was found . . goal: execute-unit-task ... . . goal: modify-text . . . . verify-edit . 1.35
7 August 2002
42
Top-level GOMS
goal: edit-manuscript . goal: edit-unit-task ... repeat until no more unit tasks . . goal: acquire unit-task ... remembered if task not . . . goal: turn-page ... if at end of manuscript page . . . goal: get-from-manuscript if a unit task was found . . goal: execute-unit-task ... . . . goal: modify-text . . . [select: . goal: move-text * ... text is to be moved if . . . . goal: delete-phrase phrase is to be deleted ... a if . . . . goal: insert-word] word is to be inserted ... a if . . . . verify-edit 1.35
7 August 2002
43
Expansion of move-text
goal: move-text . goal: cut-text . goal: paste-text
7 August 2002
44
Expansion of move-text
goal: move-text . goal: cut-text . . goal: highlight-text . . goal: issue-cut-command . goal: paste-text
7 August 2002
45
Expansion of move-text
goal: move-text . goal: cut-text . . goal: highlight-text . . goal: issue-cut-command . . . move-cursor-to-edit-menu . . . click-mouse-button . . . move-mouse-to-cut-item . . . verify-highlight . . . click-mouse-button . goal: paste-text
7 August 2002
46
Full move-text
goal: move-text . goal: cut-text . . goal: highlight-text . . . [select**: goal: highlight-phrase-comprised-of-words . . . . move-cursor-to-first-word 1.10 . . . . double-click-mouse-button 0.40 . . . . move-cursor-to-last-word 1.10 . . . . shift-click-mouse-button 0.40 . . . . verify-highlight 1.35 . . . goal: highlight-arbitrary-text . . . . move-cursor-to-beginning-of-text . . . . press-mouse-button . . . . move-cursor-to-end-of-text . . . . release-click-mouse-button . . . . verify-highlight ] . . goal: issue-cut-command . . . move-cursor-to-edit-menu 1.10 . . . click-mouse-button 0.20 . . . move-mouse-to-cut-item 1.10 . . . verify-highlight 1.35 . . . click-mouse-button 0.20 . . . . . . . . . . . goal: paste-text . goal: position-cursor-at-insertion-point . . move-cursor-to-insertion-point 1.10 . . click-mouse-button 0.20 . . verify-position 1.35 . goal: issue-paste-command . . move-cursor-to-edit-menu 1.10 . . click-mouse-button 0.20 . . move-mouse-to-paste-item 1.10 . . verify-highlight 1.35 . . click-mouse-button 0.20
7 August 2002
47
(procedure :sequential (index (set--initial)) vars (set *task* remembered) (set *edit-task* move-text) (set *text-to-be-moved* all-words) (set *first-word-to-be-moved* quick) (set *last-word-to-be-moved* brown) (set *destination* space-before-fox) )
7 August 2002 Cognitive Science 2002 Fairfax, VA 48
The select clause in The select clause in edit manuscript edit manuscript implements an "if" implements an "if" selection rule selection rule
index: unique name of a procedure used to match stored proced step: a sub-procedure of a larger procedure step tag : unique label for each step, requiredurrent in :conc only waitfor enables sequencing of steps in a :concurrent procedur :
indicating dependencies -- events that satisfy conditions for execution
clause that conditions the execution of that the evaluation of an expression causes an event signaling the end of a procedure
Cognitive Science 2002 Fairfax, VA
50
(procedure (index (execute-unit-task )) (step s(modify-tex?modification-task) 1 t (select ?modification-task (second (assoc a*e*)))) ask* v rlidit-t st (step s(verify ediwaitfor s1)) 2 ) (t ? (step t (terminawaitfor s1 ?s2))) (te) ?
?modification-task ?modification-task bound to value of bound to value of *edit-task* which is *edit-task* which is move-text move-text
7 August 2002
51
7 August 2002
52
Cut text
goal: cut-text . goal: highlight-text . goal: issue-cut-command
7 August 2002
53
(procedure (index (verify ?type ?item)) (profile memory) (step s1 (start-activity memory memory-act :duration 1350 (step t (terminate) f( r completed ?a)))) wait o (
7 August 2002
54
7 August 2002
55
CMN primitives
Can be at any level of granularity
Operator execution assumed to be sequential
For really skilled behavior the assumption of s operator execution breaks down
Parallelism -- actions overlap to various degrees Need to go deeper in the cognitive architecture to c the parallelism that leads to overlap
7 August 2002
56
CPM-GOMS : CPM-GOMS : Interleaving templates to ac Interleaving templates to ac parallel and serial executi parallel and serial executi cognitive, perceptual, and m cognitive, perceptual, and m operators operators
7 August 2002 Cognitive Science 2002 Fairfax, VA 57
Goal of CPM-GOMS
Model the time for highly skilled people to ac tasks by using methods made up of elementary Cognitive, Perceptual, and Motor operators Create cognitively-plausible, treusable that empl tes capture the parallelism and constraints in th methods Integrate templates into a model that allows predictions to flow from a CMN-GOMS task hier
Shield the analyst from the complexity of templates Keep the analyst in the task domain
7 August 2002
58
Highly Skilled
KLM and CMN-GOMS predict human behavior well
When the user knows the procedures of a domain well presented with a new task When operators can be assumed to work sequentially
CPM-GOMS is needed
When task becomes so routine that users perform act in parallel to achieve faster execution time Examples in the lab:
Card, Moran & Newell, 1983, Chapter 8, Section 4.-- Te Baskin & John, 1998 -- CAD John, et. al., 2002 -- ATM
Show how to finesse n interactive ld in Apex by a wor using ApexBuilder a global variable list, and *varlist*
We ll do this first
7 August 2002 Cognitive Science 2002 Fairfax, VA 60
7 August 2002
61
Carnegie Mellon University s Masters of HCI & Masters of Software Engineer projects this year
(completed 2aug02)
Charge: Make it
easy to build simple worlds in Apex and possible to hook up to external world simul (the next few slides come directly from the presentations, and you have their easy-to-u system on the CD)
7 August 2002 Cognitive Science 2002 Fairfax, VA 62
An Apex World
7 August 2002
63
World visualization
You have to run some model to get it to build the world just to get it to understand that there is a world. participant CI
7 August 2002
64
7 August 2002
65
7 August 2002
66
7 August 2002
67
7 August 2002
68
7 August 2002
69
7 August 2002
70
7 August 2002
71
7 August 2002
72
7 August 2002
73
7 August 2002
74
7 August 2002
75
7 August 2002
76
7 August 2002
77
7 August 2002
78
7 August 2002
79
7 August 2002
80
7 August 2002
81
7 August 2002
82
7 August 2002
83
7 August 2002
84
7 August 2002
85
7 August 2002
87
Additions to vars- nitial) (set i (procedure :sequential (index (set- -initial)) vars ; ; V a r i a b l e s t h a t e n c o d e i n f o r m a t i o n a b o u t t h e h u m a n u s er ;; just like in the CMN-GOMS model (see slide 54) ;; Variables that encode information about the initial st ;; These variables must match the names of the interface ;; the initialize file (set quick visible) We ll write PDL that We ll write PDL that (set brown visible) changes these values changes these values (set Edit-menu visible) as the model interacts as the model interacts with the world (set File-menu visible) with the world (set Cut-item invisible) (set space-before-fox visible) (set Paste-item invisible)) Cognitive Science 2002
7 August 2002 Fairfax, VA 88
Apex also supports communication with a complete interactive world when you nee
Build any world you wish in lisp within the Apex sy Have Apex operate an external simulation (e.g., CMU students have controlled a browser and the AMBR ATC through HLA) Both approaches are beyond the scope of this tutoria Cognitive Science 2002
7 August 2002 Fairfax, VA 90
Show how to finesse n interactive ld in Apex by a wor using ApexBuilder a global variable list, and *varlist*
Cognitive Science 2002 Fairfax, VA
7 August 2002
91
CPM-GOMS operators
Are at the level of single cognitive, perceptual, a actions, in the tens of milliseconds The cognitive, perceptual and motor processors are within themselves but parallel with respect to each Combine these into psychologically plausible, reusa patterns called templatesusing task analysis and the constraints of the Model Human Processor (Card, Mor Newell, 1983) Templates then implement the CMN-GOMS operators (Jo & Gray, CHI Tutorials, 1992-1995)
7 August 2002 Cognitive Science 2002 Fairfax, VA 92
vision
perceivetarget
50
50 initiatePOG
50 verifytarget pos
cognition
START initiate-movecursor
right hand
movecursor
100 mouse Up
30
eye move
POG
7 August 2002
93
50 initiatePOG
50 verifytarget pos
50 initiatePOG
50 verifytarget pos
50 initiatemouseDn
100 mouse Up
movecursor
100 mouse Up
FAST M/C
FAST M/C
7 August 2002
94
But people seem to interweave templates when they become sufficient skilled at a task
0 new-cursor-location 290 perceivetarget 0 new-cursor-location 290 perceivetarget
50 initiatePOG
50 verifytarget pos
50 attendtarget
50 initiatePOG
50 initiatemouseDn START initiate-movecursor 590 (FL) 100 mouse Dn 100 mouse Up movecursor
50 verifytarget pos
50 initiatemouseDn
100 mouse Up
30 POG
FAST M/C
FAST M/C
7 August 2002
95
We used to do interweaving painstakingly by hand Project Mac in Now Apex will do this automaticall us through dynamic resource sched u
0 new-cursor-location 290 perceivetarget 0 new-cursor-location 290 perceivetarget
50 initiatePOG
50 verifytarget pos
50 attendtarget
50 initiatePOG
50 initiatemouseDn START initiate-movecursor 590 (FL) 100 mouse Dn 100 mouse Up movecursor
50 verifytarget pos
50 initiatemouseDn
100 mouse Up
30 POG
FAST M/C
FAST M/C
7 August 2002
96
Basic procedure
Create a CMN-GOMS-like model that bottoms out calls to pre-established templates Allow all primitive operators to contend for r (e.g., vision, audition, cognition, hands, vo
Apex has mechanisms to dynamically schedule resource of which is used in CPM-GOMS models The CMN goal hierarchy guides Apex to assign the re to the appropriate primitives to achieve cognitively interweaving Templates have been created for using a mouse, typin reacting to a sound or visual signal, all included templates.lisp file with the Apex system (see the Templates Manual included on the CD and on site)
7 August 2002 Cognitive Science 2002 Fairfax, VA 97
Converting CMN-GOMS PDL into CPM-GOMS PDL A new concept calrank led
CMN-GOMS PDL -> CPM-GOMS (procedure (index (edit manuscript)) (step s1 (?this-step) (select ?this-step (depends-on *task* ((remembered no-op) (forgotten acqu ) (step s2 (execute-unit-task) (rank 1)) The rank clause in (step s2 (execute-unit-task) waitfor ( ?s1)) The rank clause in in each step tells (step t (terminate)k(2)) ?s2))) waitfor (ran ?s1 in each step tells Apex how to (step t (terminate) ( ?s1 ?s2))) waitfor Apex how to resolve resource resolve resource r . Thisrankwas aaitfor There will rarely conflicts a w . Thisank was w aitfor There will rarely conflicts be waitforsexcept in terminate steps in except in terminate steps in be waitfors CPM-GOMS models CPM-GOMS modelsScience 2002 Cognitive
7 August 2002 Fairfax, VA 98
syntax: of procedu
CMN-GOMS Just change Just change :sequentiato l :sequentito al (procedure :sequential :rankedand Apex :r and Apex (index (modify-text move-text)) ankedin the rest fills in the rest fills (cut-text) (paste-text)) CPM-GOMS (procedure :ranked (index (modify-text move-text)) (cut-text) (paste-text))
7 August 2002 Cognitive Science 2002 Fairfax, VA 99
7 August 2002
101
Remember Now we ll
world vision
Fast-move-click? implement it in P
0 new-cursor-location 290 perceivetarget
50
50 initiatePOG
50 verifytarget pos
cognition
START initiate-movecursor
right hand
movecursor
100 mouse Up
30
eye move
POG
7 August 2002
(step c3 (step m2 (eye-movement ?target) ?c3)) (waitfor (step p1 (perceive-target-complex ?target) (variable ?target visible))) waitfor ?m2 (
logical dependencies seen logical dependencies seen (move-cursor ?target)?c1)) (waitfor in the PERT chart in the PERT chart (attend-target ?target)) (resource dependencies (resource dependencies are emergent) (initiate-eye-movement ?target) (waitfor ?c2)) are emergent)
(step c4 (verify-target-position ?target) ( waitfor ?c3 ?p1)) (step c5 (initiate-click ?target) ?m1)) waitfor ?c4 ( (step m3 (mouse-down ?target) ( waitfor ?m1 ?c5)) (step m4 (mouse-up ?target) ( waitfor ?m3)) (step t (terminate) ( waitfor ?m4 ?rvr1 ?rvr2)) )
7 August 2002 Cognitive Science 2002 Fairfax, VA
A step canitfoan wa r wa r A step canitfoan occurrence in the world occurrence in the world
103
World steps set an World steps set an attribute in varlist the * attribute in varlist the * to a value (and can take to a value (and can tak time to do so) time to do so)
la la
ATM-CPM-world
The models discussed in our recent CHI paper (John, et. al. 2002), also provided
ATM-CPM-world
Match to data reported in our recent CHI paper (see
CAD-world
Model matches the data in of Baskin & John (1998) as the hand-done CPM-GOMS models did Makes predictions of errors, which have been observe analysis of Baskin & John data, still in progress)
TYPIST
Automatically-generated template-level PDL implement theory that matched many experiments in transcriptio (but individual experiments not modeled yet)
7 August 2002 Cognitive Science 2002 Fairfax, VA 107
Human-model comparisons
1400 No-Interleaving Model 1200 CPM-GOMS Model Mean for Subjects Fitts's Law
1000
800
600
400
200
7 August 2002
108
7 August 2002
109
Known bugs
Select clauses in an interactive world (discov last week)
Select clauses are giving odd behavior when they mu global variables that change during task execution The templates in the templates.lisp file work for A and fox-worlds, but may display this odd behavior in models We have worked around this problem in the CAD-world the CD (if you really want to know how, ask Bonnie J Mike Matessa off line)
PERT chart
Dependency lines are not drawn completely correctly dependency lines from world events and sometimes ac templates
7 August 2002 Cognitive Science 2002 Fairfax, VA 110
Multitasking skill
Delay answering phone until finished typing sen heuristic: prefer to delay interrupt until good st Pull over to side of road before studying map Drive back onto road (but drive to start point) t don Do something useful when stopped at a red light
Multitasking can be viewed as skilled behavior for managing task based on learnedtics domain-dependent applications of general heu tac
7 August 2002
112
Challenge
Create agents with human-level ability to emplo diverse multitask management tactics General heuristics underlying tactics architecture mechanisms Task-specific knowledge specialized representation elements task representation methodology
7 August 2002
113
Autonomous robots
Cognitive Science 2002 Fairfax, VA
7 August 2002
114
7 August 2002
115
7 August 2002
116
Classical schedulers
input: set of actions to do and constraints on order/timing output: schedule specifying when to do each action can seek optimal solutions
7 August 2002
117
Reactive Planners
Coping with time-pressure
Stored plan library Heuristic or single-rule plan refinement
but not very good at discooptimal solutions ver ng or solvinhard, novel problems g
7 August 2002
118
7 August 2002
119
Multitasking in Apex
Concurrency control Rational interruption and resumption Graceful interruption and resumption Efficient use of resources
7 August 2002
120
(procedure (procedure (procedure (index (do-it)) (index (do-it)) (index (do-it)) (step s1 (do-A) (step s1 (do-A)) (step s1 (do-A) (step s2 (do-B) (step s2 (do-B) (step s2 (do-B) (step s3 (do-C) (waitfor (started ?s1))) (step s3 (do-C) (waitfor ?s1) (step s3 (terminate) (waitfor ?s1 ?s2) (waitfor ?s2)) (waitfor ?s1 ?s2))) (step s4 (terminate) (step s4 (terminate) (waitfor ?s3))) (waitfor ?s3)))
7 August 2002 Cognitive Science 2002 Fairfax, VA 121
Some tasks tolerate brief interruptions Conflict exists between tasks A and B if
and A and B both require resource R, Expected Duration (A) > Tolerance (B) or Expected Duration (B) > Tolerance
(A)
7 August 2002
122
Urgency dominates if time enough to do everythin Importance dominates if some deadlines cannot be met
7 August 2002
123
7 August 2002
124
Transition behaviors
Interrupt-time, suspension-time, resume-time Illustrates contingency-handling
7 August 2002
125
7 August 2002
126
7 August 2002
127
New architecture functionality and PDL construc access it when needed behavior difficult to re
e.g. rank instead of priority
Summary
Multitasking ability founded on tactical knowle derived from general heuristics Reactive planners can be extended to execute th heuristics in uncertain/time-pressured enviro Specifically, extensions for concurrency contro interruption handling and resource management facilitate use of multitasking tactics Understanding of what needs to be represented a notation is best for this purpose are improvi Apex applications are developed
Cognitive Science 2002 Fairfax, VA
7 August 2002
129
Wrap-up Wrap-up
7 August 2002
130
CD ROM
The CD ROM contains Apex 2.2b4 plus additional simworlds documentation, and papers ,
FolderStudentModels in "Apex Worlds" folder contain models " " from Bonnie Johns class that have not all been tested wi version of Apex To run the student models you must modify the allworlds .lisp file by eliminating the commenting semicolons before the world yo to run The "kitchen world" world was developed for an earlier ve Apex and only partly runs, but it does show a more comple simworld "Apex reference manual" documents the system Documentation of Apex Builder and papers are in the "Apex folder
7 August 2002
131
Extensions folder
The extensions folder in your Apex directory i to be used for code that add to the system or modifications you make to existing functions
Is read last so functions you write will overwrite existi If you write code you think will enhance the system let u we will look into incorporating it
7 August 2002
132
Website
// nas . ftp:eos.arc. a gov/outgoing/apex/apex
Latest versions of Apex (Apex 2.2b4) Macintosh and PC Some of the worlds Documentation Instructions on downloading and running Patches We are trying to update it regularly to keep it cur
7 August 2002
133
1000
me (m TiTime (ms)s)
800
600
No-Interleaving Mode Fittss Law CPM-GOMS Model S1- Mean for Trials S2- Mean for Trials
400
200
ithdraw WWithdraw
7 August 2002
Checking Checking
Correc Correctt
OK OK
No No
4 4
9 9
0 0
8 8
0 0
134
1000
Time (ms)
800
600
Fittss Law No-Interleaving Mode CPM-GOMS Model S1- Mean for Trials S2- Mean for Trials
400
200
Card Slot
Cash Slot
Card Slot
Withdraw
7 August 2002
Cash Slot
Checking
Correct
OK
No
135
1000
Time (ms)
800
600
Fittss Law No-Interleaving Mode CPM-GOMS Model S1- Mean for Trials S2- Mean for Trials
400
200
Card Slot
Cash Slot
Card Slot
Withdraw
7 August 2002
Cash Slot
Checking
Correct
OK
No
136