OperatorWindow

The Operator Window class is responsible for all of the project information and actions.

OperatorWindow extends JTree, which allows it to display to Operator Hierarchy of a project.

The OperatorWindow has a very important data member called WorkingMemory.  WorkingMemory is of type SoarWorkingMemoryModel which is the class that represents the working memory of the current visual soar project.  See the Working Memory section for more information.

The Operator Window is saved in a special type of format (.vsa).  The  .vsa file has developed throughout the many releases of Visual Soar and currently saves in the version four format.  However, the Operator Window can read all previously released formats (backwards-compatible).  There is also unused code in visual soar for reading/writing for version five.  Version five provides a format that allows two .vsa files to be merged by utilities such as  CVS merge.

The OperatorWindow tree is composed of the special Visual Soar tree nodes, called OperatorNodes,  shown in the figures below.

 

Operator Node class Hierarchy:

OperatorNode The basis for which all operator nodes are derived.
FolderNode A special type of node used for some of the default project operators such as the elaborations folder and the root node.
OperatorRootNode Extends FolderNode.  The root of the project's Operator Hierarchy.
FileNode Basis for all other types of Operator Nodes.  No longer really needed as a separate class from SoarOperatorNode.
SoarOperatorNode Responsible for all Operator functions, including adding sub operators and data map organization.  A Soar Operator can be either a high-level operator or a low-level operator.
FileOperatorNode Similar to a regular Soar Operator, but the File Operator does not a datamap associated with it.  
OperatorOperatorNode This is the fundamental Soar Operator.  It allows sub operators and has a datamap associated with it if it is a high level operator.
ImpasseOperatorNode A special type of operator that represents one of the four types of impasses.  Similar to a regular Soar Operator in every way except for it has a special name that cannot be modified.

back to the top