Class TEA

DescriptionHierarchyFieldsMethodsProperties

Unit

EA

Declaration

type TEA = class(TObject)

Description

Class implementing a general evolutionary algorithm (EA). TEA has the following features:

It should be noted that in the steady-state replacement scheme, the two worst individuals are replaced by new individuals.

In addition, TEA relies on the procedure TAgent.Mutate for performing mutations. This procedure needs to be implemented in a user-defined descendant of TAgent. See also TRobot.Mutate.

Hierarchy

TEA > TObject

Methods

Overview

Public constructor Create;
Public destructor Destroy; override;
Public procedure AdjustFitnessValues;
Public procedure GenerateCumulativeNormalizedFitnessSum(Pop: TPopulation);
Public procedure IncrementEvaluated;
Public procedure MakeGenerationalReplacement;
Public procedure MakeNewGeneration;
Public procedure MakeSteadyStateReplacement;
Public function RouletteWheelSelect(Pop: TPopulation): integer;
Public procedure SetParameters(EAParameters: TEAParameters);
Public function TournamentSelect(Pop: TPopulation): integer;

Description

Public constructor Create;
 
Public destructor Destroy; override;
 
Public procedure AdjustFitnessValues;
 
Public procedure GenerateCumulativeNormalizedFitnessSum(Pop: TPopulation);
 
Public procedure IncrementEvaluated;
 
Public procedure MakeGenerationalReplacement;
 
Public procedure MakeNewGeneration;
 
Public procedure MakeSteadyStateReplacement;
 
Public function RouletteWheelSelect(Pop: TPopulation): integer;
 
Public procedure SetParameters(EAParameters: TEAParameters);
 
Public function TournamentSelect(Pop: TPopulation): integer;
 

Properties

Overview

Public property EvaluatedIndividuals: integer;
Public property Generation: integer;
Public property Parameters: TEAParameters;
Public property Population: TPopulation;

Description

Public property EvaluatedIndividuals: integer;
 
Public property Generation: integer;
 
Public property Parameters: TEAParameters;
 
Public property Population: TPopulation;

Provides acccess to the population. Initially Population is empty and the user must populate it by, for instance, using the procedure TPopulation.AddIndividual.


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