Public Member Functions | Protected Member Functions | Protected Attributes

cart::CartesianMutOnePoint Class Reference

Cartesian genotype: one point mutation operator. More...

#include <CartesianMutOnePoint.h>

Inheritance diagram for cart::CartesianMutOnePoint:
MutationOp

List of all members.

Public Member Functions

bool mutate (GenotypeP gene)
bool initialize (StateP)
 Initialize mutation operator. Called before first mutation operation.
void registerParameters (StateP)
 Register parameters with the system. Called before MutationOp::initialize.

Protected Member Functions

void mutOneValue (Cartesian *mut, int mutPoint)

Protected Attributes

double mutProb_
bool useMutProb_

Detailed Description

Cartesian genotype: one point mutation operator.

Definition at line 11 of file CartesianMutOnePoint.h.


Member Function Documentation

bool cart::CartesianMutOnePoint::mutate ( GenotypeP  gene  )  [virtual]

Mutation point is randomly chosen between all integer values in genotype. Chosen integer for mutation might be input connection, function or output. Considering those three cases, predetermined rules are applied in order to make valid genotype by mutation.

Implements MutationOp.

Definition at line 31 of file CartesianMutOnePoint.cpp.


The documentation for this class was generated from the following files: