.VSA
The .vsa file is the main project file. It holds the information for the Operator Hierarchy.
The TreeFileWriter class is the class responsible for writing out the project information to the .vsa file. The openHierarchy(File) method is a method of the OperatorWindow class is the method used to extract the information from the file when opening a Visual Soar project.
The current format for the .vsa file is fairly simple. The first line tells Visual Soar what Version number is, and the second line tells Visual Soar where the DataMap file (.dm) is located.
The very next line is always the root node. The root node line contains the name of the agent and the name of the folder.
Following that is a list of all of the operators in the project. In the current format, version four, the operator is displayed as follows:
Operator ID number Parent ID number Operator Type Operator Name Operator File name Folder Name (if high-level) DataMap ID number
Operator Types are:
FOLDER | FolderNode |
FOPERATOR | FileOperatorNode |
HLFOPERATOR | high level FileOperatorNode |
IOPERATOR | ImpasseOperatorNode |
HLIOPERATOR | high level ImpasseOperatorNode |
OPERATOR | OperatorOperatorNode |
HLOPERATOR | high level OperatorOperatorNode |