C# Class SharpNeat.Phenomes.NeuralNets.RelaxingCyclicNetwork

A version of CyclicNetwork that activates a network until it becomes 'relaxed' rather than for some fixed number of iterations. This class is exactly the same as CyclicNetwork in all other respects; See that class for more detailed info. A network is defined as being relaxed when the change in output signal value between two successive update iterations is less than some threshold value (defined by maxAllowedSignalDelta on the constructor) for all hidden and output neurons (inputs and bias neurons have a fixed output value).
Inheritance: CyclicNetwork
显示文件 Open project: colgreen/sharpneat

Public Methods

Method Description
Activate ( ) : void

Activate the network until it becomes 'relaxed' or until maxTimesteps is reached. If maxIterations is reached without the network relaxing then the IsValidState property will return false, although the network outputs are still provided and can be read as normal.

RelaxingCyclicNetwork ( List neuronList, List connectionList, int inputNeuronCount, int outputNeuronCount, int maxTimesteps, double signalDeltaThreshold ) : System

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

ResetState ( ) : void

Reset the network's internal state and isValidState flag.

Method Details

Activate() public method

Activate the network until it becomes 'relaxed' or until maxTimesteps is reached. If maxIterations is reached without the network relaxing then the IsValidState property will return false, although the network outputs are still provided and can be read as normal.
public Activate ( ) : void
return void

RelaxingCyclicNetwork() public method

Constructs a CyclicNetwork with the provided pre-built neurons and connections.
public RelaxingCyclicNetwork ( List neuronList, List connectionList, int inputNeuronCount, int outputNeuronCount, int maxTimesteps, double signalDeltaThreshold ) : System
neuronList List
connectionList List
inputNeuronCount int
outputNeuronCount int
maxTimesteps int
signalDeltaThreshold double
return System

ResetState() public method

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