Mutate Class Reference

Class to perform mutations on individual pairs. More...

#include <Mutate.hpp>

List of all members.

Public Member Functions

 Mutate (int iTries=5)
void mutate (Individual &ind)


Detailed Description

Class to perform mutations on individual pairs.

Author:
Stephen E. Baker
Date:
2006-2007
Version:
1.0


Constructor & Destructor Documentation

Mutate::Mutate ( int  iTries = 5  ) 

Creates a new mutator object

Parameters:
[in] iTries Number of attempts made before mutation is aborted


Member Function Documentation

void Mutate::mutate ( Individual ind  ) 

Perform a mutation on an individual. This replaces the subtree of a randomly chosen node in the symbol tree with a new subtree which conforms to the grammar

Parameters:
[in,out] ind The individual to mutate


The documentation for this class was generated from the following files:
Generated on Mon Jan 15 01:21:05 2007 for Creatively Named Grammar Guided Genetic Programming System by  doxygen 1.4.7