C# Class SharpNeat.Genomes.Neat.ConnectionMutationInfo

Each instance of ConnectionMutationInfo describes a type of mutation and associated parameters. A list of ConnectionMutationInfo objects describe a connection weight mutation scheme - a set of a number of different types of mutation along with the probability of each type occurring when spawning offspring genomes asexually.
Mostra file Open project: colgreen/sharpneat

Public Methods

Method Description
ConnectionMutationInfo ( ConnectionMutationInfo copyFrom )

Copy constructor.

ConnectionMutationInfo ( double activationProbability, ConnectionPerturbanceType perturbanceType, ConnectionSelectionType selectionType, double selectionProportion, int selectionQuantity, double perturbanceMagnitude, double sigma )

Construct with the provided mutation type and supporting parameters.

Method Details

ConnectionMutationInfo() public method

Copy constructor.
public ConnectionMutationInfo ( ConnectionMutationInfo copyFrom )
copyFrom ConnectionMutationInfo

ConnectionMutationInfo() public method

Construct with the provided mutation type and supporting parameters.
public ConnectionMutationInfo ( double activationProbability, ConnectionPerturbanceType perturbanceType, ConnectionSelectionType selectionType, double selectionProportion, int selectionQuantity, double perturbanceMagnitude, double sigma )
activationProbability double The probability that this type of mutation will be chosen
perturbanceType ConnectionPerturbanceType The type of weight perturbation the info object represents.
selectionType ConnectionSelectionType The type of connection subset selection the info object represents.
selectionProportion double For ConnectionSelectionType.Proportional this gives the proportion of connections to select.
selectionQuantity int For ConnectionSelectionType.FixedQuantity this gives the number of connections to select.
perturbanceMagnitude double For ConnectionPerturbanceType.JiggleEven this gives the magnitude of the extents of the /// even distribution used for generating jiggle weight deltas.
sigma double For ConnectionPerturbanceType.JiggleGaussian this specifies the sigma to use for /// the Gaussian distribution used for generating jiggle weight deltas.