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
显示文件 Open project: colgreen/sharpneat

Protected Properties

Property Type Description
_connectionList List
_inputAndBiasNeuronCount int
_inputNeuronCount int
_inputSignalArray double[]
_neuronList List
_outputNeuronCount int
_outputSignalArray double[]
_timestepsPerActivation int

Public Methods

Method 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 method

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

CyclicNetwork() public method

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
return System.Collections.Generic

ResetState() public method

Reset the network's internal state.
public ResetState ( ) : void
return void

Property Details

_connectionList protected_oe property

protected List _connectionList
return List

_inputAndBiasNeuronCount protected_oe property

protected int _inputAndBiasNeuronCount
return int

_inputNeuronCount protected_oe property

protected int _inputNeuronCount
return int

_inputSignalArray protected_oe property

protected double[] _inputSignalArray
return double[]

_neuronList protected_oe property

protected List _neuronList
return List

_outputNeuronCount protected_oe property

protected int _outputNeuronCount
return int

_outputSignalArray protected_oe property

protected double[] _outputSignalArray
return double[]

_timestepsPerActivation protected_oe property

protected int _timestepsPerActivation
return int