java.lang.Object
com.marginallyclever.ro3.node.nodes.odenode.brain.v2.Connection

public class Connection extends Object
Positive weights will act as excitatory connections. Negative weights will act as inhibitory connections.
  • Constructor Details

    • Connection

      public Connection(Neuron fromNeuron, Neuron toNeuron, double weight)
  • Method Details

    • propagate

      public void propagate()
    • reset

      public void reset()
    • isActive

      public boolean isActive()
    • getFromNeuron

      public Neuron getFromNeuron()
    • getToNeuron

      public Neuron getToNeuron()
    • addWeight

      public void addWeight(double amount)
    • scaleWeight

      public void scaleWeight(double scale)
    • getWeight

      public double getWeight()