Class TGene

DescriptionHierarchyFieldsMethodsProperties

Unit

Genome

Declaration

type TGene = class(TObject)

Description

TGene is a base class for all gene objects. Its main purpose is to introduce the Mutate that must be implemented by the user in order to do anything useful.

Hierarchy

TGene > TObject

Methods

Overview

Public constructor CreateAndSet(Gene: TGene); virtual;
Public function Copy: TGene; virtual;
Public procedure Mutate(MutationParameters: TMutationParameters); virtual;

Description

Public constructor CreateAndSet(Gene: TGene); virtual;
 
Public function Copy: TGene; virtual;
 
Public procedure Mutate(MutationParameters: TMutationParameters); virtual;

Procedure implementing the mutation operator. Parameters associated with the mutation operator is contained in the argument MutationParameters. By default, this procedure does not do anything and must be implemented in a descendent TGene class in order to do something useful. See e.g. TUMGene for a concrete descendant of TGene.


Generated by PasDoc 0.8.8.3 on 2005-05-28 08:13:49