C# 클래스 Encog.Neural.Networks.Training.NEAT.NEATGenome

상속: Encog.Solve.Genetic.Genome.BasicGenome
파일 보기 프로젝트 열기: encog/encog-silverlight-core 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
TWEAK_DISJOINT double

공개 메소드들

메소드 설명
AddLink ( double mutationRate, double chanceOfLooped, int numTrysToFindLoop, int numTrysToAddLink ) : void

Mutate the genome by adding a link to this genome.

AddNeuron ( double mutationRate, int numTrysToFindOldLink ) : void

Mutate the genome by adding a neuron.

AlreadyHaveThisNeuronID ( long id ) : bool

Do we already have this neuron id?

Decode ( ) : void

Convert the genes to an actual network.

Encode ( ) : void

Convert the network to genes. Not currently supported.

GetCompatibilityScore ( NEATGenome genome ) : double

Get the compatibility score with another genome. Used to determine species.

GetSplitY ( int nd ) : double

Get the specified split y.

IsDuplicateLink ( long fromNeuronID, long toNeuronID ) : bool

Determine if this is a duplicate link.

MutateActivationResponse ( double mutateRate, double maxPertubation ) : void

Mutate the activation response.

MutateWeights ( double mutateRate, double probNewMutate, double maxPertubation ) : void

Mutate the weights.

NEATGenome ( ) : System

Default constructor.

NEATGenome ( NEATGenome other ) : System

Construct a genome by copying another.

NEATGenome ( Encog.Neural.Networks.Training.NEAT.NEATTraining training, long genomeID, Chromosome neurons, Chromosome links, int inputCount, int outputCount ) : System

Create a NEAT gnome.

NEATGenome ( Encog.Neural.Networks.Training.NEAT.NEATTraining training, long id, int inputCount, int outputCount ) : System

Construct a genome, do not provide links and neurons.

SortGenes ( ) : void

Sort the genes.

ToString ( ) : String

This genome as a string.

비공개 메소드들

메소드 설명
ChooseRandomNeuron ( bool includeInput ) : NEATNeuronGene

Choose a random neuron.

GetElementPos ( long neuronID ) : int

Get the specified neuron's index.

메소드 상세

AddLink() 공개 메소드

Mutate the genome by adding a link to this genome.
public AddLink ( double mutationRate, double chanceOfLooped, int numTrysToFindLoop, int numTrysToAddLink ) : void
mutationRate double The mutation rate.
chanceOfLooped double The chance of a self-connected neuron.
numTrysToFindLoop int The number of tries to find a loop.
numTrysToAddLink int The number of tries to add a link.
리턴 void

AddNeuron() 공개 메소드

Mutate the genome by adding a neuron.
public AddNeuron ( double mutationRate, int numTrysToFindOldLink ) : void
mutationRate double The mutation rate.
numTrysToFindOldLink int The number of tries to find a link to split.
리턴 void

AlreadyHaveThisNeuronID() 공개 메소드

Do we already have this neuron id?
public AlreadyHaveThisNeuronID ( long id ) : bool
id long The id to check for.
리턴 bool

Decode() 공개 메소드

Convert the genes to an actual network.
public Decode ( ) : void
리턴 void

Encode() 공개 메소드

Convert the network to genes. Not currently supported.
public Encode ( ) : void
리턴 void

GetCompatibilityScore() 공개 메소드

Get the compatibility score with another genome. Used to determine species.
public GetCompatibilityScore ( NEATGenome genome ) : double
genome NEATGenome The other genome.
리턴 double

GetSplitY() 공개 메소드

Get the specified split y.
public GetSplitY ( int nd ) : double
nd int The neuron.
리턴 double

IsDuplicateLink() 공개 메소드

Determine if this is a duplicate link.
public IsDuplicateLink ( long fromNeuronID, long toNeuronID ) : bool
fromNeuronID long The from neuron id.
toNeuronID long The to neuron id.
리턴 bool

MutateActivationResponse() 공개 메소드

Mutate the activation response.
public MutateActivationResponse ( double mutateRate, double maxPertubation ) : void
mutateRate double The mutation rate.
maxPertubation double The maximum to perturb it by.
리턴 void

MutateWeights() 공개 메소드

Mutate the weights.
public MutateWeights ( double mutateRate, double probNewMutate, double maxPertubation ) : void
mutateRate double The mutation rate.
probNewMutate double The probability of a whole new weight.
maxPertubation double The max perturbation.
리턴 void

NEATGenome() 공개 메소드

Default constructor.
public NEATGenome ( ) : System
리턴 System

NEATGenome() 공개 메소드

Construct a genome by copying another.
public NEATGenome ( NEATGenome other ) : System
other NEATGenome The other genome.
리턴 System

NEATGenome() 공개 메소드

Create a NEAT gnome.
public NEATGenome ( Encog.Neural.Networks.Training.NEAT.NEATTraining training, long genomeID, Chromosome neurons, Chromosome links, int inputCount, int outputCount ) : System
training Encog.Neural.Networks.Training.NEAT.NEATTraining The owner object.
genomeID long The genome id.
neurons Encog.Solve.Genetic.Genome.Chromosome The neurons.
links Encog.Solve.Genetic.Genome.Chromosome The links.
inputCount int The input count.
outputCount int The output count.
리턴 System

NEATGenome() 공개 메소드

Construct a genome, do not provide links and neurons.
public NEATGenome ( Encog.Neural.Networks.Training.NEAT.NEATTraining training, long id, int inputCount, int outputCount ) : System
training Encog.Neural.Networks.Training.NEAT.NEATTraining The owner object.
id long The genome id.
inputCount int The input count.
outputCount int The output count.
리턴 System

SortGenes() 공개 메소드

Sort the genes.
public SortGenes ( ) : void
리턴 void

ToString() 공개 메소드

This genome as a string.
public ToString ( ) : String
리턴 String

프로퍼티 상세

TWEAK_DISJOINT 공개적으로 정적으로 프로퍼티

The adjustment factor for disjoint genes.
public static double TWEAK_DISJOINT
리턴 double