C# Class SharpNeat.Phenomes.NeuralNets.CyclicNetwork

This class is provided for debugging and educational purposes. FastCyclicNetwork is functionally equivalent and is much faster and therefore should be used instead of CyclicNetwork in most circumstances. A neural network class that represents a network with recurrent (cyclic) connections. Recurrent connections are handled by each neuron storing two values, a pre- and post-activation value (InputValue and OutputValue). This allows us to calculate the output value for the current iteration/timestep without modifying the output values from the previous iteration. That is, we calculate all of this timestep's state based on state from the previous timestep. When activating networks of this class the network's state is updated for a fixed number of timesteps, the number of which is specified by the maxIterations parameter on the constructor. See RelaxingCyclicNetwork for an alternative activation scheme.
Inheritance: IBlackBox
Afficher le fichier Open project: colgreen/sharpneat

Protected Properties

Свойство Type Description
_connectionList List
_inputAndBiasNeuronCount int
_inputNeuronCount int
_inputSignalArray double[]
_neuronList List
_outputNeuronCount int
_outputSignalArray double[]
_timestepsPerActivation int

Méthodes publiques

Méthode Description
Activate ( ) : void

Activate the network for a fixed number of timesteps defined by maxTimesteps is reached.

CyclicNetwork ( List neuronList, List connectionList, int inputNeuronCount, int outputNeuronCount, int timestepsPerActivation ) : System.Collections.Generic

Constructs a CyclicNetwork with the provided pre-built neurons and connections.

ResetState ( ) : void

Reset the network's internal state.

Method Details

Activate() public méthode

Activate the network for a fixed number of timesteps defined by maxTimesteps is reached.
public Activate ( ) : void
Résultat void

CyclicNetwork() public méthode

Constructs a CyclicNetwork with the provided pre-built neurons and connections.
public CyclicNetwork ( List neuronList, List connectionList, int inputNeuronCount, int outputNeuronCount, int timestepsPerActivation ) : System.Collections.Generic
neuronList List
connectionList List
inputNeuronCount int
outputNeuronCount int
timestepsPerActivation int
Résultat System.Collections.Generic

ResetState() public méthode

Reset the network's internal state.
public ResetState ( ) : void
Résultat void

Property Details

_connectionList protected_oe property

protected List _connectionList
Résultat List

_inputAndBiasNeuronCount protected_oe property

protected int _inputAndBiasNeuronCount
Résultat int

_inputNeuronCount protected_oe property

protected int _inputNeuronCount
Résultat int

_inputSignalArray protected_oe property

protected double[] _inputSignalArray
Résultat double[]

_neuronList protected_oe property

protected List _neuronList
Résultat List

_outputNeuronCount protected_oe property

protected int _outputNeuronCount
Résultat int

_outputSignalArray protected_oe property

protected double[] _outputSignalArray
Résultat double[]

_timestepsPerActivation protected_oe property

protected int _timestepsPerActivation
Résultat int