FutureAIGuru / BrainSimII

Neural Simulator for AGI research and development
http://brainsim.org
MIT License
87 stars 25 forks source link

Neuron display doesn't always update as needed #182

Closed FutureAIGuru closed 2 years ago

FutureAIGuru commented 3 years ago

Describe the bug For display performance, the NeuronArrayView keeps lists of interesting neurons and only update the colors of those unless, for some reason, a full update is needed. The full update initializes the lists. So if a module updates a neuron which isn't on one of the lists, the display doesn't reflect the change. Doing a zoom or pan forces a complete update. Color and Floatvalue type neurons are always added to the lists if they are on the screen.

Application: Brain Simulator

Module/Network: bug visible in the "Maze" network but is more generic

To Reproduce Steps to reproduce the behavior:

  1. Open the "Maze" network
  2. Click on the "Auto" neuron in the "Navigate" module to start Sallie exploring the maze
  3. Notice that various neurons below "Found" don't change when Sallie encounters new goal locations.
  4. These neurons will suddenly show the correct color values and labels if you zoom/pan the display, click on auto or one of a variety of things which force a complete display update.

Expected behavior Neurons should display correct values when the values are set. There should be a mechanism by which a module which changes neuron values can force the display to update them.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Add any other context about the problem here.