Class TPopulation

DescriptionHierarchyFieldsMethodsProperties

Unit

Population

Declaration

type TPopulation = class(TObject)

Description

Class implementing a population of TAgents (or descendants thereof).

Hierarchy

TPopulation > TObject

Methods

Overview

Public constructor Create; overload;
Public constructor CreateAndSet(Population: TPopulation);
Public destructor Destroy; override;
Public procedure AddIndividual(Agent: TAgent);
Public function BestIndividual: TAgent;
Public function GetSecondWorstIndividualIndex: integer;
Public function GetWorstIndividualIndex: integer;
Public procedure RankFitnessValues;

Description

Public constructor Create; overload;
 
Public constructor CreateAndSet(Population: TPopulation);
 
Public destructor Destroy; override;
 
Public procedure AddIndividual(Agent: TAgent);
 
Public function BestIndividual: TAgent;
 
Public function GetSecondWorstIndividualIndex: integer;
 
Public function GetWorstIndividualIndex: integer;
 
Public procedure RankFitnessValues;
 

Properties

Overview

Public property AverageFitness: real;
Public property BestIndividualIndex: integer;
Public property M[i: integer]: TAgent;
Public property MaximumFitness: real;
Public property MinimumFitness: real;
Public property Size: integer;

Description

Public property AverageFitness: real;
 
Public property BestIndividualIndex: integer;
 
Public property M[i: integer]: TAgent;
 
Public property MaximumFitness: real;
 
Public property MinimumFitness: real;
 
Public property Size: integer;
 
Generated by PasDoc 0.8.8.3 on 2005-05-28 08:13:50