NO GRAPHICS

The demo network takes a simple stab at coloring a map with four colors
so that no two neighboring regions have the same color.  

To make sim, type "make sim".
To run 4 color problem, run sim and type the command "read setup" (look at
  "setup" to see what it does).
The map simulated is in the file "map".
  the first line is the number of regions
  the rest of the lines specify pairs of regions which share a border
The file "showmap" displays the connectivity of this map graphically.
The network will eventually find a stable state.
Try the network on another map file - change the line "call build map"
  in "setup" to "call build mymap", where "mymap" is your data file.

Here is one solution.  The 9 regions are each represented.  The index and type
of the region indicate the colors.  The state was static for several steps, 
indicating a stable state, i.e. a solution.

Clock = 22
Index     Name              Type        Potential       Output          State

 1      region0[1]          blue      1000              1000            Static
 6      region1[2]          green     1000              1000            Static
 9      region2[1]          blue      1000              1000            Static
 15     region3[3]          yellow    1000              1000            Static
 17     region4[1]          blue      1000              1000            Static
 23     region5[3]          yellow    1000              1000            Static
 24     region6[0]          red       1000              1000            Static
 30     region7[2]          green     1000              1000            Static
 32     region8[0]          red       1000              1000            Static
 39     region9[3]          yellow    1000              1000            Static


GRAPHICS

Make gsim.  When the simulator comes up, type "read gisetup", then
stretch the window so the entire map shows.  Click "go" to run the simulation.
When a solution has settled, type `reset' in the command prompt window.  Then
click "go" again until another solution is reached.  Ad infinitum.
