C# 클래스 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.
파일 보기 프로젝트 열기: colgreen/sharpneat

공개 메소드들

메소드 설명
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.

메소드 상세

ConnectionMutationInfo() 공개 메소드

Copy constructor.
public ConnectionMutationInfo ( ConnectionMutationInfo copyFrom )
copyFrom ConnectionMutationInfo

ConnectionMutationInfo() 공개 메소드

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.