Class ContextSynapse
java.lang.Object
Synapse
ContextSynapse
- 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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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 NeuronoutputNeuron
- The output Neuron
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.