Class ContextSynapse

java.lang.Object
  extended bySynapse
      extended byContextSynapse

public class ContextSynapse
extends Synapse

The ContextSynapse class is used to connect Context Neurons to Hidden Neurons. They have a fixed weight of 1

Author:
Raymond McBride

Constructor Summary
ContextSynapse(Neuron inputNeuron, Neuron outputNeuron)
          This constructor for the ContextSynapse connects two Neurons together, and sets it's weight to 1
 
Method Summary
 void transferValue()
          Transfers a weighted value from the input Neuron to the output Neuron
 
Methods inherited from class Synapse
adjustWeight, calculateWeightChange, calculateWeightChange, getWeight, setWeight
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContextSynapse

public ContextSynapse(Neuron inputNeuron,
                      Neuron outputNeuron)
This constructor for the ContextSynapse connects two Neurons together, and sets it's weight to 1

Parameters:
inputNeuron - The input Neuron
outputNeuron - The output Neuron
Method Detail

transferValue

public void transferValue()
Transfers a weighted value from the input Neuron to the output Neuron

Overrides:
transferValue in class Synapse


Copyright © 2004 Raymond McBride. All Rights Reserved.