Docsity

Dialogue Notations & Semantics: Event vs. State-Based, Completeness, Reversibility, Slides of Human Resource Management

Partial preview of the text

Download Dialogue Notations & Semantics: Event vs. State-Based, Completeness, Reversibility and more Slides Human Resource Management in PDF only on Docsity!

Dialogue Notations -

Summary

  • Diagrammatic
    • STN, JSD, Flow charts
  • Textual
    • grammars, production rules, CSP
  • Issues
    • event base vs. state based
    • power vs. clarity
    • model vs. notation
    • sequential vs. concurrent

Semantics Alexander SPI (i)

  • Two part specication:
    • EventCSP - pure dialogue order
    • EventISL - target dependent semantics
  • dialogue description - centralised
  • syntactic/semantic trade-off - tollerable

Semantics - raw code

  • event loop for word processor
  • dialogue description
    • very distributed
  • syntactic/semantic trade-off
    • terrible!

switch ( ev.type ) {

case button_down:

if ( in_text ( ev.pos ) ) {

mode = selecting;

mark_selection_start(ev.pos);

case button_up:

if ( in_text ( ev.pos )

&& mode == selecting ) {

mode = normal;

mark_selection_end(ev.pos);

case mouse_move:

if (mode == selecting ) {

extend_selection(ev.pos);

} /* end of switch */

Action properties

  • completeness
    • missed arcs
    • unforeseen circumstances
  • determinism
    • several arcs for one action
    • deliberate: application decision
    • accident: production rules
  • nested escapes
  • consistency
    • same action, same effect?
    • modes and visibility

Checking properties (ii)

  • Reversibility:
    • to reverse select `line'

Start Menu

Line 1 Line 2 Finish

select 'circle'

select 'line'

rubber band draw last line

click on first point double click

click on point

draw a line

... ... ...

select 'graphics'

select 'text'

select 'paint'

M ain ... ... ...

M enu

Graphics Sub-menu

... ... ...

Checking properties (ii)

  • Reversibility:
    • to reverse select `line'
    • click

Start Menu

Line 1 Line 2 Finish

select 'circle'

select 'line'

rubber band draw last line

click on first point double click

click on point

draw a line

... ... ...

select 'graphics'

select 'text'

select 'paint'

M ain ... ... ...

M enu

Graphics Sub-menu

... ... ...

Checking properties (ii)

  • Reversibility:
    • to reverse select `line'
    • click - double click - select `graphics'
    • (3 actions)
  • N.B. not undo

Start Menu

Line 1 Line 2 Finish

select 'circle'

select 'line'

rubber band draw last line

click on first point double click

click on point

draw a line

... ... ...

select 'graphics'

select 'text'

select 'paint'

M ain ... ... ...

M enu

Graphics Sub-menu

... ... ...