|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsimbad.piconode.core.node.Node
simbad.piconode.core.node.ConnectedNode
simbad.piconode.core.node.ModularNode
simbad.piconode.core.node.Module
simbad.piconode.core.node.Network
simbad.piconode.core.node.NeuralNetwork
simbad.piconode.core.node.RecurrentNeuralNetwork
public class RecurrentNeuralNetwork
This class implements the basis for a recurrent neural network (no special ability).
Field Summary |
---|
Fields inherited from class simbad.piconode.core.node.NeuralNetwork |
---|
_activationFunctionForArcsFromBiasNeuron, _allNeuronsUnorderedList, _biasArcList, _biasNeuron, _containsBiasNeuron, _init, _inputNeuronsList, _outputNeuronsList |
Fields inherited from class simbad.piconode.core.node.Network |
---|
_arcList, _nodeList |
Fields inherited from class simbad.piconode.core.node.ConnectedNode |
---|
_incomingArcsList, _outgoingArcsList |
Fields inherited from class simbad.piconode.core.node.Node |
---|
_name, nGene |
Constructor Summary | |
---|---|
RecurrentNeuralNetwork()
create a new network with no bias neuron. |
|
RecurrentNeuralNetwork(ActivationFunction __activationFunctionForArcsFromBiasNeuron)
Create a new network that contains a bias neuron. |
Method Summary | |
---|---|
protected void |
addBiasNeuron()
Add a bias neuron and connect it to all node in the network Bias neuron is also included in the Input neuron list. |
protected ConnectedNode |
getNodeAt(int __index)
|
void |
initNetwork()
Perform initialization of the network. |
void |
step()
perform one iteration step using input data from incoming nodes if any -- arity must be correct |
void |
step(java.util.ArrayList __inputValuesList)
compute output values from input values (i.e. |
java.lang.String |
toXml()
Thomas Darde TER NNEDITOR Provides an xml representation of this element Xml DTD is defined in visual piconode |
protected void |
updateNetwork()
update all nodes in the network -- must be performed at the end of the step method |
Methods inherited from class simbad.piconode.core.node.Network |
---|
getArcAt, getArcListSize, updateGenotype |
Methods inherited from class simbad.piconode.core.node.Module |
---|
getInputRegister, getInputRegisterSize, getOldOutputRegister, getOldOutputRegisterSize, getOutputRegister, getOutputRegisterSize, setInputRegister, setInputRegisterSize, setOldOutputRegister, setOldOutputRegisterSize, setOutputRegister, setOutputRegisterSize |
Methods inherited from class simbad.piconode.core.node.ModularNode |
---|
isUpdated, setUpdated |
Methods inherited from class simbad.piconode.core.node.ConnectedNode |
---|
addIncomingArc, addOutgoingArc, getIncomingArcAt, getIncomingArcsList, getIncomingArcsListSize, getOutgoingArcAt, getOutgoingArcsList, getOutgoingArcsListSize |
Methods inherited from class simbad.piconode.core.node.Node |
---|
getName, getNGene, setName, setNGene |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RecurrentNeuralNetwork()
public RecurrentNeuralNetwork(ActivationFunction __activationFunctionForArcsFromBiasNeuron)
__activationFunctionFromBiasNeuron
- Method Detail |
---|
public void initNetwork()
protected void addBiasNeuron()
addBiasNeuron
in class NeuralNetwork
protected ConnectedNode getNodeAt(int __index)
getNodeAt
in class NeuralNetwork
public void step(java.util.ArrayList __inputValuesList)
step
in class Module
__inputValuesList
- protected void updateNetwork()
public void step()
step
in class Node
__valuesList
- public java.lang.String toXml()
toXml
in interface XmlRepresentation
toXml
in class NeuralNetwork
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |