142 Yi Han and Ingrid Zukerman
handler of the
asking-event.
As discussed in Section 4.3, the handler locks the
blackboard while deleting any events that were sent out to the master agent by
the icon agent. Finally, the handler forces the icon agent to restart its reactive
planning stage from Step 10 of
Agent-planning.
Consequently, any unperformed
actions with respect to the previous
asking-event
are skipped.
7 Presenting Composite Information: Table Agent
A segment container is generated by agents for presenting composite information.
As stated in Section 5.1, an agent decomposes a presentation task into sub-tasks
based upon its discourse structure, and hires server agents to perform these
sub-tasks. Each agent uses its own format to convey the intended information.
Thus, specific methods are used by different agents to decompose their task.
Each segment container has a segment-list which contains the components to be
generated by the server agents. The segment container specifies the format for
the integration of these components. Modality constraints and space constraints
are imposed by the agent which creates the segment container to ensure the
integration of the components. Propagation of modality constraints is performed
during the task decomposition stage in order to obtain modalities capable of
presenting each component (Step 4 of
Agent-Planning).
In contrast, an agent
performs propagation of space constraints during the initial planning stage in
order to obtain requirements from its server agents (Step 8 of
Agent-planning),
and during the reactive planning stage in order to obtain requirements from its
master agent or its server agents (Steps 12 and 15 of
Agent-planning).
A table agent generates a table container~to present composite information
in the format of columns and rows. Figure 12 illustrates a segment container
which specifies the parameters defined by a table agent for presenting the table
in Fig. 2. These parameters are: (1) the width and height of the table (in pixels),
(2) the number of columns and rows, (3) the width of the different columns and
height of the different rows, (4) the type of column and row separator (solid-line,
which is the default, double-line, nil), (5) the alignment of each entry in each
column (left, which is the default, center or right) and row (top, which is default,
center or bottom), (6) the headings for columns and rows, and (7) the content
to be conveyed in each entry (stored in
segment-list).
A table agent determines the integration format of a table and the content
of each component on the basis of (1) the dimensions of the information to be
conveyed, (2) the dimensional focus of each dimension, and (3) the discourse
relations to be conveyed. For the Instantiations that illustrate the Comparison
between the weight of an object on Earth and its weight on the moon (Fig. 5),
the information to be conveyed has two dimensions, namely
object
and
weight.
The dimensional focus of
object
is
name
and
mass,
and the dimensional focus of
weight
is
magnitude.
This information can be conveyed either by (a) putting each
Instantiation in a row, or (b) putting each Instantiation in a column. The table
agent in MAGPIE prefers to use format (a), where the attributes to be compared
are displayed in columns, to suit our natural eye movement (Holmes, 1984). For