next up previous contents
Next: Universal Base Class: PerlGPObject Up: Class: Population Previous: Methods   Contents

Subsections

Attributes & Variables


Individuals

Data type: ARRAY-REF
Default: empty
Defined in: BasePopulation.pm
Mainly used in: addIndividual(), countIndividuals(), randomIndividual()
See also: PopulationSize

The array where the Individuals in the Population are stored.


PopulationSize

Data type: NUMBER
Default: 2000
Defined in: BasePopulation.pm
Mainly used in: perlgp-run.pl
See also:

This is the maxium allowed size of the Population, if you use perlgp-run.pl to start a run. The Population class does not control the number of Individuals itself.


MigrationSize

Data type: NUMBER
Default: 50
Defined in: GPPopulation.pm
Mainly used in: emigrate()
See also:

If migration is enabled (in the Algorithm class with EmigrateInterval and ImmigrateInterval), then this parameter determines how many Individuals move from one population to another at a time.


PopulationDir

Data type: STRING
Default: see below
Defined in: GPPopulation.pm
Mainly used in: repopulate()
See also: ExperimentId

The directory where all the per-Individual DBM files are stored. The default is PERLGP_SCRATCH/ExperimentId.


ExperimentId

Data type: STRING
Default:
Defined in: GPPopulation.pm
Mainly used in:
See also:

The same as the attribute in Algorithm with the same name.


next up previous contents
Next: Universal Base Class: PerlGPObject Up: Class: Population Previous: Methods   Contents
Bob MacCallum 2003-02-03