rickhaffey/CSC578 — Issue #2: Fix problem with overlapping indices on nodes
Author: rickhaffey
Created: 2011-10-18 11:53:42+00:00
State: open

Right now, the nodes are being assigned indexes 0 .. n within each group (Input, Hidden, Output)
This is causing a problem when the weight values are calculated because there are multiple index 0, 1, etc. 'From' and 'To' nodes being used for the calculations.
Possibilities:
* change nodes so that they get a GUID id and compare on this
* override Equals and allow comparing with that
* change nodes to have private constructor, and use singleton pattern, so that indices can be managed across all nodes