Represents the Node in a neural network.
Inheritance: NeuroObject
Beispiel #1
0
 /// <summary>
 ///     Setter for <see cref="xpidea.neuro.net.NeuroLink.OutNode" /> property.
 /// </summary>
 /// <param name="node">Outgoing (destination) node.</param>
 public void SetOutNode(NeuroNode node)
 {
     outNode = node;
 }
Beispiel #2
0
 /// <summary>
 ///     Connects this node to <b>toNode</b> using link <b>link</b>.
 /// </summary>
 /// <param name="toNode">Destination node.</param>
 /// <param name="link">Link used to connect nodes.</param>
 public void LinkTo(NeuroNode toNode, NeuroLink link)
 {
     OutLinks.Add(link);
     toNode.InLinks.Add(link);
     link.SetInNode(this);
     link.SetOutNode(toNode);
 }
Beispiel #3
0
 /// <summary>
 ///     Setter for <see cref="xpidea.neuro.net.NeuroLink.InNode" /> property.
 /// </summary>
 /// <param name="node">Incomming (source) node.</param>
 public void SetInNode(NeuroNode node)
 {
     inNode = node;
 }
Beispiel #4
0
 /// <summary>
 ///     Constructor.
 /// </summary>
 public NeuroLink()
 {
     inNode = null;
     outNode = null;
 }
Beispiel #5
0
 /// <summary>
 ///     Setter for <see cref="xpidea.neuro.net.NeuroLink.OutNode" /> property.
 /// </summary>
 /// <param name="node">Outgoing (destination) node.</param>
 public void SetOutNode(NeuroNode node)
 {
     outNode = node;
 }
Beispiel #6
0
 /// <summary>
 ///     Setter for <see cref="xpidea.neuro.net.NeuroLink.InNode" /> property.
 /// </summary>
 /// <param name="node">Incomming (source) node.</param>
 public void SetInNode(NeuroNode node)
 {
     inNode = node;
 }
Beispiel #7
0
 /// <summary>
 ///     Constructor.
 /// </summary>
 public NeuroLink()
 {
     inNode  = null;
     outNode = null;
 }