C# Class Encog.Neural.NEAT.Training.NEATInnovationList

Inheritance: Encog.ML.Genetic.Innovation.BasicInnovationList
Mostra file Open project: encog/encog-silverlight-core Class Usage Examples

Public Methods

Method Description
CheckInnovation ( long ins0, long xout, NEATInnovationType type ) : NEATInnovation

Check to see if we already have an innovation.

CreateNeuronFromID ( long neuronID ) : NEATNeuronGene

Create a new neuron gene from an id.

CreateNewInnovation ( long from, long to, NEATInnovationType innovationType, NEATNeuronType neuronType, double x, double y ) : long

Create a new innovation.

CreateNewInnovation ( long ins0, long xout, NEATInnovationType type ) : void

Create a new innovation.

NEATInnovationList ( ) : System

The default constructor, used mainly for persistance.

NEATInnovationList ( IPopulation population_0, Chromosome links, Chromosome neurons ) : System

Construct an innovation list.

Private Methods

Method Description
AssignNeuronID ( ) : long

Assign a neuron ID.

Method Details

CheckInnovation() public method

Check to see if we already have an innovation.
public CheckInnovation ( long ins0, long xout, NEATInnovationType type ) : NEATInnovation
ins0 long The input neuron.
xout long THe output neuron.
type NEATInnovationType The type.
return NEATInnovation

CreateNeuronFromID() public method

Create a new neuron gene from an id.
public CreateNeuronFromID ( long neuronID ) : NEATNeuronGene
neuronID long The neuron id.
return NEATNeuronGene

CreateNewInnovation() public method

Create a new innovation.
public CreateNewInnovation ( long from, long to, NEATInnovationType innovationType, NEATNeuronType neuronType, double x, double y ) : long
from long The from neuron.
to long The to neuron.
innovationType NEATInnovationType THe innovation type.
neuronType NEATNeuronType The neuron type.
x double The x-coordinate.
y double The y-coordinate.
return long

CreateNewInnovation() public method

Create a new innovation.
public CreateNewInnovation ( long ins0, long xout, NEATInnovationType type ) : void
ins0 long The input neuron.
xout long The output neuron.
type NEATInnovationType The type.
return void

NEATInnovationList() public method

The default constructor, used mainly for persistance.
public NEATInnovationList ( ) : System
return System

NEATInnovationList() public method

Construct an innovation list.
public NEATInnovationList ( IPopulation population_0, Chromosome links, Chromosome neurons ) : System
population_0 IPopulation The population.
links Encog.ML.Genetic.Genome.Chromosome The links.
neurons Encog.ML.Genetic.Genome.Chromosome THe neurons.
return System