Using VTAL

VTAL is written in Java.  There are three ways to start it: Below, I  will assume that you have already started the system.


Working with scenario descriptions

When you start VTAL, it opens a main window, which looks approximately like this (but without the text in the two text areas):

This window is used when you work with action scenario descriptions.

Writing an action scenario description

Action scenario descriptions are written in the upper (white) text area according to the TAL introduction.  You write your action scenario descriptions as plain text.  When you want the system to parse your scenario, you can press the Update button or select Convert from the File menu.  (This is not necessary if you want to show the models of the scenario; whenever you select an operation that needs the scenario description, it will be re-parsed automatically if it has changed.)  Any syntactic or semantic errors will be shown in a dialog box.

Unfortunately, this standard text input field is not very easy to use;  in some cases it even refuses to accept certain characters such as '+' and '<'.  Usually, it is easier to write scenario descriptions in your favorite text editor and re-read them from disk using the Reload button after you make changes to it.

Opening and saving action scenario descriptions

[These functions cannot be used in an applet.]

You can read scenario descriptions from disk using the File/Open Scenario Description menu item.  Select the scenario description file in the dialog box.

You can write scenario descriptions to disk using the File/Save Scenario Description menu item.

If you have read a scenario description from disk or written it to disk, you can reload the file from disk by pressing the Reload button.  This is useful if you write your scenario descriptions in an external text editor;  every time you make some changes and save them, you press Reload in the VTAL window.

The File/Save Scenario Description in TEX Format menu item should not be used; it is not fully implemented yet.

Translating action scenario descriptions

When your scenario description is parsed, it is converted into several other forms, some of which are used internally when reasoning about the scenario and some of which correspond to different levels of abstractions between the high-level scenario description you write and the low-level base logic  You can choose which translation you want to see in the lower text area by selecting it in the choice box between the text areas:

Working with more than one scenario description

You can work with more than one scenario description at once by opening more than one main window.  Open a new window by selecting File/New window.

Showing the preferred models of a scenario description

There are two ways to show the preferred models of a scenario description: You may get an Inherent contradiction in scenario error.  This means that your scenario contradicts itself; there are no models of the scenario.  This may happen if you state that something should be true and false at the same time, for example.


The model window

The model window above shows some of the models for the Extended Baby Protection Scenario. The rest of the models are shown below:

Timelines and colors

All models are shown as timelines, which show the values of fluents at different points in time.  For example, in the lower half of the picture above, we see a model (actually, a "union" of two models) of the Extended Baby Protection Scenario: Solid colors indicate that the model has the same restrictions on values as the union model does.  Lines indicate that the model differs from the union model.  This makes it easier to see where the different models actually differ from each other.  The following picture shows the same scenario as the previous picture, but scrolled down so that the two ordinary models are shown:

 

These models are equivalent to the union model, and therefore to each other, except for loc(gun) and safe(gun) at time 6 to infinity.

Actions

The actions that are performed are shown below the timelines.  The blue "brackets" show the timepoints at which the actions are performed.  This display is very rudimentary at this time:

The initial interpretation

The uppermost model is not really a model; it is the initial interpretation.  This is an initial approximation of the set of models, and can usually be disregarded.

The union of all models

The second "model" shown in the model window is the union of all preferred models.  This "model" is not really a model, but it lets you quickly see the restrictions that are common to all models:

Ordinary models

All models after the second one are "ordinary" models.

Manipulating the display

You can change the number of models that are shown at the same time by clicking the Add and Remove buttons.

You can zoom in and zoom out using the Zoom in and Zoom out buttons.  Use the scrollbars to move around in the zoomed-in model.  Select Zoom/Autozoom now to return to the standard zoom scale.  Use the other items in the Zoom menu to zoom in or out only in the x or y direction.

Use the scrollbar to the right or the Page up, Up, Down and Page down buttons to see different models.


Known bugs

This system is still under development; it has not yet been extensively tested in some areas.  There are several known bugs, some of which are listed here: