C# Class SharpNeat.Genomes.Neat.AddedNeuronGeneStruct

Represents an added neuron. When a neuron is added to a neural network in NEAT an existing connection between two neurons is discarded and replaced with the new neuron and two new connections, one connection between the source neuron and the new neuron and another from the new neuron to the target neuron. This struct represents those three IDs. This struct exists to represent newly added structure in a history buffer of added structures. This allows us to re-use IDs where a mutation recreates a structure that has previously occurred through previous mutations on other genomes.
显示文件 Open project: colgreen/sharpneat Class Usage Examples

Public Methods

Method Description
AddedNeuronGeneStruct ( UInt32IdGenerator idGenerator ) : SharpNeat.Utility

Construct by assigning new IDs generated by the provided UInt32IdGenerator.

Method Details

AddedNeuronGeneStruct() public method

Construct by assigning new IDs generated by the provided UInt32IdGenerator.
public AddedNeuronGeneStruct ( UInt32IdGenerator idGenerator ) : SharpNeat.Utility
idGenerator SharpNeat.Utility.UInt32IdGenerator
return SharpNeat.Utility