C# Class SharpNeat.Genomes.Neat.NeuronGene

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

Méthodes publiques

Méthode 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 méthode

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

CreateCopy() public méthode

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.
Résultat NeuronGene

NeuronGene() public méthode

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.
Résultat SharpNeat.Network

NeuronGene() public méthode

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
Résultat SharpNeat.Network

NeuronGene() public méthode

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
Résultat SharpNeat.Network