Class NeuralNetNode

All Implemented Interfaces:
java.lang.Comparable<AbstractGraphNode>, InterfaceObject, NamedObject, TreeObject, CleanableObject, XMLObject

public class NeuralNetNode
extends DefaultGraphNode
Extension of DirectedSparseVertex to specifically represent nodes in neural networks, i.e., containing references to instances of Neuron.
Version:
1.0
Author:
Andrew Reid
  • Field Details

  • Constructor Details

  • Method Details

    • getUnit

      public AbstractNeuron getUnit()
    • getWeight

      public double getWeight​(NeuralNetNode target)

      Returns the weight of the connection of this node with the target node, if it exists. Returns 0 if:

      1. this node's unit is null
      2. this node has no such target
      3. the target synapse is not an instance of WeightedSynapse
      Parameters:
      target -
      Returns:
      weight of the connection to target