To find the information your require either select a category and look for the appropriate question or use the Find option of your browser and search for a key term.
Using a browser: Once you have extracted the files use the "Open File" or "Open File in Browser" option in the File menu to open BrainWave.html (or which ever html file you are interested in).
Using a appletviewer: Different appletviewers work slightly differently and you should refer to the documentation that comes with the appletviewer. In general, to use an appletviewer you should ensure that your CLASSPATH variable contains the directory in which BrainWave resides. Then use a command like to folowing:
appletviewer BrainWave.html
Using BrainWave as an application: Again, different java machines can operate differently, so you should refer to the documentation that comes with your package. In general, however a line like the following is needed:
java BrainWave.BWMain
To open a BrainWave with a network use:
java BrainWave <network name>
To exit the BrainWave application select the Exit box (top right hand corner in Windows 95).
BrainWave uses two types of menu. The first is the main menu which is activated by pressing the right mouse button while the pointer is located over a blank segment of the simulator (hold down the Apple key and press on the Macintosh). This menu contains the object, file, edit, option submenus (see later for a description). The second sort of menu is an object menu which is activated by pressing the right mouse button while the pointer is located over one of the objects in the simulator (such as a unit or a weight). This menu contains the parameters and operations that can be performed on that object.
To clear the BrainWave workspace select the New item from the File menu. Note this removes all of the objects and reverts the Objectmenu to a standard set.
To select a tool select an item from the Object menu.
To create a unit, select the unit tool, move the mouse cursor to the position on the workspace where you wish the unit to appear and click.
To create a weight select the weight tool, select the unit(s) from which you want the weights to originate and double select the unit(s) to which the weights should be connected. Then click on any open segment of the workspace. The weight will appear as a line linking the two units. The value of the weight is represented by the colour of the line. Red lines indicate positive weights and blue lines indicate negative weights.
To create a label, select the label tool, move the cursor to the position on the workspace where you would like the place the label, and click.
Sometimes it is necessary to be able to track a value of an object as it changes during learning or cycling. To create a value, select the object you want the value to be bound to select the bound value tool, move the mouse cursor to the position on the workspace where you wish the value to appear and click. Many objects have more than one value associated with them. To select which of these values you want to track set the bound value name in the object menu of the bound value. The bound value will be updated whenever that object is updated.
To create a graph, select the object to be graphed, select the graph tool and click on an unoccupied portion of the workspace. Like the bound value the graph can be attached to different values. Select the value you wish to graph in the graphs object menu.
To resize a graph select the graph and click down on the bottom right hand corner and drag until the graph is the required size.
To stop the first graph from changing select unfrozen from the graphs object menu. This freezes the graph so that it will not alter. The graph can be "unfrozen" by selecting "frozen".
[not yet operational] Select the Undo item from the Edit menu. Note this can only undo changes to the set of objects on the workspace. it cannot be used to undo changes to object parameters.
To move an object (unit, weight, label, value, graph, set, or group), move the cursor over the object you want to move, click down, drag the cursor to the new position for the object and release the mouse button.
To delete an object, hold down control, move the cursor over the object that you want to delete and click.
To select an object, hold down shift, move the cursor over the object you want to select and click. A selected item will have green "handles" on its corners.
To double select an object, just select an already selected item again. A double selected item will have yellow "handles" on its corners.
To deselect select a double selected object.
To select multiple objects and hold the shift key down when you are selecting additional objects.
Select the "Select All" item from the Edit menu.
Select the "Select Units" item from the Edit menu.
Select the "Select Weights" item from the Edit menu.
To deselect currently selected objects, hold down shift, and then click on any unoccupied part of the workspace.
Select the objects you wish to cut and select the Cut item from the Edit menu.
Select the objects you wish to copy and select the Copy item from the Edit menu.
Select the Paste item from the Edit menu.
To change the parameters of an object right click on the object to popup the object menu and select the parameter you wish to change. Typically, a dialog will appear and allow you to change the value. In some cases, however, a special editor can be instantiated (see editing pattern sets). In the case, of boolean variables the value is toggled. Important: by changing parameters in the parameter panel, you are changing the parameters of all selected objects of that type.
To toggle a unit, move the mouse cursor over the unit you wish to toggle and click. If the value of a unit is near 0 it will become 1 and if it is near 1 it will become 0.
To create a set select the objects you wish to be in the set (typically these are units although other objects can be included also), select the set tool, move the mouse cursor to the position on the workspace where you wish the set to appear and click.
To add a pattern to a set, specify the values of the objects in the set (by using the toggle tool for units, or by changing the value parameter of an object), and select Add Pattern option from the set you wish to add the pattern to. The label for the new pattern will appear under the set(s) to which it has been added. alternatively, you can use the pattern set editor by selecting "Edit patterns" from the set's object menu.
To select a pattern from a set, click on the label of the pattern which you wish to select. The label will change colour and the pattern will be instantiated on its objects.
Select the "Delete Pattern" option from the set's object menu.
To create an input layer of units create the units you wish to be in the layer. Next select these units and only these units. Now create a pattern set using the set tool.
Exactly what has to be done to run a netowrk depends on the type of network. Typically, cycling activations or initiating the learning algorithm will invovle clicking on a button. The names of these buttons change from architecture to architecture. In addition, buttons are used to initiate other network operations such as reseting all units to zero, or randomizing weights.
To stop a network cycling or learning click on the Stop button.
When BrainWave is run as an applet from within a web page you can load a default network by specifying the InitialNetwork parameter. For instance, the following html loads the JetsAndSharks network when the page is accessed.
<center>
<applet code="BrainWave/BWMain.class" archive="BrainWave.jar" width=600 height=400>
<PARAM NAME="InitialNetwork" VALUE="JetsAndSharks.net">
<applet>
<center>
To save a network select the "Save As" option from the File menu. A dialog will appear allowing you to specify where you would like the file saved and what its name should be. Note that when running BrainWave through Netscape, the save options are not available for security reasons.
To load a network from disk select the "Open" option from the File menu. A dialog will appear allowing you to select the file to load.
To load a network from a URL select the "Open URL" option from the File menu. A dialog will appear to allow you to type in the URL of the file you wish to load.
lpr MyNetwork.ps
Note that the Landscape item in the Options menu can be used to change the aspect of the printed network. Also the Eps option makes "Export to Postscript" produce an encapsulated postscript file which can be imported into other packages.
To make the weights invisible select the "Weights Visible" item from the Options menu. To make them visible again select the item again.
You can bring up a grid on the screen by selecting the "Grid" option from the Options menu. When the grid is showing any object created or moved will align with the grid.
BrainWave comes with a black and white option which causes all graphics to be displayed in black and white. You can select it from the Options menu. Units with positive activations are represented by a white square on a black background. Negative activations are represented by a a black square on a white background. As a consequence zero which is represented by just a black background can look very similar to -1 which is a large black square on a white background - so beware.
You can select the eps item from the Options menu to make the "Export to Postscript" option save encapsulated postscript.
You can select the landscape item from the Options menu to make the "Export to Postscript" option save in landscape mode rather than portrait.