C# Class SharpNeat.Genomes.Neat.NeuronGene

A gene that represents a single neuron in NEAT.
Inheritance: INetworkNode
Datei anzeigen Open project: colgreen/sharpneat Class Usage Examples

Public Methods

Method Description
CreateCopy ( ) : NeuronGene

Creates a copy of the current gene. Virtual method that can be overridden by sub-types.

CreateCopy ( bool copyConnectivityData ) : NeuronGene

Creates a copy of the current gene. Virtual method that can be overridden by sub-types.

NeuronGene ( NeuronGene copyFrom, bool copyConnectivityData ) : SharpNeat.Network

Copy constructor.

NeuronGene ( uint innovationId, NodeType neuronType, int activationFnId ) : SharpNeat.Network

Construct new NeuronGene with the specified innovationId, neuron type and activation function ID.

NeuronGene ( uint innovationId, NodeType neuronType, int activationFnId, double auxState ) : SharpNeat.Network

Construct new NeuronGene with the specified innovationId, neuron type activation function ID and auxiliary state data.

Method Details

CreateCopy() public method

Creates a copy of the current gene. Virtual method that can be overridden by sub-types.
public CreateCopy ( ) : NeuronGene
return NeuronGene

CreateCopy() public method

Creates a copy of the current gene. Virtual method that can be overridden by sub-types.
public CreateCopy ( bool copyConnectivityData ) : NeuronGene
copyConnectivityData bool Indicates whether or not top copy connectivity data for the neuron.
return NeuronGene

NeuronGene() public method

Copy constructor.
public NeuronGene ( NeuronGene copyFrom, bool copyConnectivityData ) : SharpNeat.Network
copyFrom NeuronGene NeuronGene to copy from.
copyConnectivityData bool Indicates whether or not top copy connectivity data for the neuron.
return SharpNeat.Network

NeuronGene() public method

Construct new NeuronGene with the specified innovationId, neuron type and activation function ID.
public NeuronGene ( uint innovationId, NodeType neuronType, int activationFnId ) : SharpNeat.Network
innovationId uint
neuronType NodeType
activationFnId int
return SharpNeat.Network

NeuronGene() public method

Construct new NeuronGene with the specified innovationId, neuron type activation function ID and auxiliary state data.
public NeuronGene ( uint innovationId, NodeType neuronType, int activationFnId, double auxState ) : SharpNeat.Network
innovationId uint
neuronType NodeType
activationFnId int
auxState double
return SharpNeat.Network