Home

Products

Documentation

Download

Support

 

Products

Brahms Agent Viewer

Overview

Brahms

Agent Environment

Compiler

Virtual Machine

Composer

Agent Viewer

 

 

The Brahms Agent Viewer is an analysis tool that displays the behavior of an agent over time and allows for the analysis of that behavior. The agent viewer features a:

  • Runtime View displaying the agents and objects that were active in an agent environment.
  • Graphical Timeline View with per selected agent or object the frames and activities performed by that agent with their duration.
  • Communication View displaying the communication between agents and objects.
  • Explanation Facility allowing for a more detailed analysis of the state and behavior of the agents and objects.

At runtime the Brahms virtual machine records the behavior and state changes of the agents, objects and world state in a history file. This history file is maintained by the virtual machine's file agent viewer service and is only maintained if this service is loaded (by default it is). The Agent Viewer has the ability to parse this file and store all the information in a MySQL relational database. The Agent Viewer retrieves all the necessary information for its views from this database.

Runtime View

The user opens the database with the information that need to be displayed. When the database is opened the runtime view is populated with all of the agents and objects that were active at any point in time in the agent environment. The runtime view furthermore displays the relationships between conceptual objects and objects and displays the relationships between locations and the agents and objects that were located in those locations. From the Runtime View the user can select what agents and objects need to be displayed in the Timeline View.

Create New Database

Open Database

Runtime View

Timeline View

Selecting or dragging an agent or object into the Timeline View displays the agent's or object's timeline. The timeline displays for each agent and object what workframes, thoughtframes and activities were performed when and for how long. The nesting of workframes through composite activities is shown using multiple levels. Above the timeline the location of each agent is displayed showing where certain activities were performed. Red lines at the end of workframes or activities indicate interrupts. The small yellow bars on primitive activities indicate that objects were used as resources when performing the activity. Hovering the mouse over the yellow area will display the 'touched' or used objects. Clicking with a mouse on workframes or thoughtframes will activate the explanation facility.

Timeline View

Zoomed Timeline View

Communication View

The Agent Viewer has two types of Communication Views. The first view shows only the communication between agents and objects displayed in the Timeline View. It shows when a communication occurred and how many beliefs were communicated in what direction. The second Communication View shows in addition to what view 1 displays all the agents and objects an agent or object communicates with, even the ones that are not displayed in the right hand side pane. Clicking on the icon of the agent or object communicated with will add that agent or object to the Timeline View. This allows the user to determine the activity the other agent or object was working on. Double clicking on a communication itself will display the beliefs that were communicated.

Inter Agent Communication View

Inter Agent Communication View 2

Communication View

Communicated Beliefs

Explanation Facility

The explanation facility allows the model builder to analyze the behavior and state of agents and objects at a deeper level then the graphical view. It allows the user to determine what caused the activation of a workframe, what beliefs an agent had at time X, what actions were performed in a workframe, and what caused the termination of a workframe. The screenshots below show in order:

  1. The facts in the world managed by the world state with a filter applied for the location attribute. 

  2. The beliefs of an agent at a user specified time, the filter is closed and all of the agents beliefs are shown.

  3. The state information of a workframe with a reconstruction of the source code for that workframe based on the available data in the database. Frame available/start/end times are relative to a 0 based start time.

  4. The state information of a workframe with the beliefs that matched the workframe's preconditions causing it to become available. Frame available/start/end times are here displayed using absolute time, displaying full date/time information.

  5. The state information of a workframe with all the actions that were executed while the workframe was active. 

Explanation Facility - Filtered Facts In The World

Explanation Facility - Beliefs Of An Agent

Explanation Facility - Workframe State with Source

Explanation Facility - Workframe State with Bindings

Explanation Facility - Workframe State with Actions

The explanation facility is only in its early stages of development and its functionality will be expanded in the future.


Questions or problems regarding this web site should be directed to the Webmaster.
Copyright © 2000-2002 NASA Ames Research Center. All rights reserved.
Last modified: Wednesday May 02, 2007.