xegaPopulation1.0.0.11 package

Genetic Population Level Functions

AcceptBest

Accepts only genes with equal or better fitness.

AcceptFactory

Configure the acceptance function of a genetic algorithm.

AcceptIVMetropolis

Individually Adaptive Metropolis Acceptance Rule.

AcceptMetropolis

Metropolis Acceptance Rule.

AcceptNewGene

Accepts a new gene.

ApplyFactory

Configure the the execution model for gene evaluation.

asPipeline

Converts a population into a list of genetic operator pipelines.

checkTerminatedFalse

Check terminatedFalse()

checkTerminateError

Check terminateError()

checkTerminatePAC

Check terminatePAC()

checkTerminationFactory

Configure consistency checks and adapt penv for terminationCondition...

ConstCRate

Constant crossover rate.

ConstMRate

Constant mutation rate.

CoolingFactory

Configure the cooling schedule of the acceptance function of a genetic...

Cross2Gene

Import for examples.

CrossGene

Import for examples.

CrossRateFactory

Configure the crossover function of a genetic algorithm.

ExponentialAdditiveCooling

Exponential additive cooling.

ExponentialMultiplicativeCooling

Exponential multiplicative cooling.

futureLapply

Future apply of R-package future.apply.

futureLapplyHet

Future apply of R-package future.apply configured for a tasks with h...

IACRate

Individually adaptive crossover rate.

IAMBitRate

Individually adaptive mutation rate. (Bit mutation Rate)

IAMRate

Individually adaptive mutation rate.

InitGene

Import for examples.

lFxegaGaGene

Import for examples.

LogarithmicMultiplicativeCooling

Logarithmic multiplicative cooling.

MClapply

MultiCore apply of library parallel.

MClapplyHet

MultiCore apply of library parallel for heterogenous tasks.

MetropolisAcceptanceProbability

Metropolis acceptance probability.

MetropolisTable

Metropolis acceptance probability table.

MutationRateFactory

Configure the mutation rate function of a genetic algorithm.

PowerAdditiveCooling

Power additive cooling.

PowerMultiplicativeCooling

Power multiplicative cooling.

PparLapply

uses parLapply of library parallel for using workers on machines in a ...

PparLapplyHet

uses parLapplyLB of library parallel for using workers on machines in ...

ReplicateGene

Import for examples.

terminateAbsoluteError

Terminates, if the absolute deviation from the global optimum is small...

terminatedFalse

No termination condition.

terminateGEQ

Terminates, if the solution is greater equal a threshold.

terminateLEQ

Terminates, if the solution is less equal a threshold.

terminatePAC

Terminates if relative deviation from estimated PAC bound for optimum ...

terminateRelativeError

Terminates, if the relative deviation from the global optimum is small...

terminateRelativeErrorZero

Terminates if relative deviation from optimum is small. Works at 0.

TerminationFactory

Configure the termination condition(s) a genetic algorithm.

TrigonometricAdditiveCooling

Trigonometric additive cooling.

xegaBestGeneInPopulation

Extracts indices of best genes in population.

xegaBestInPopulation

Best solution in the population.

xegaConfiguration

Remembers R command command with which algorithm has been called.

xegaEvalPopulation

Evaluates a population of genes in a problem environment

xegaEvalPopulationFactory

Configures the evaluation of the population of a genetic algorithm.

xegaInitPopulation

Initializes a population of genes.

xegaLogEvalsPopulation

Combine fitness, generations, and the phenotype of the gene.

xegaNextPopulation

Computes the next population of genes.

xegaObservePopulation

Observe summary statistics of the fitness of the population.

xegaPopulation

Package xegaPopulation.

xegaRepairPop

Repairs the list structure of a population of genes.

xegaRepEvalPopulation

Evaluates a population of genes in a a problem environment repeatedly.

xegaSummaryPopulation

Provide elementary summary statistics of the fitness of the population...

This collection of gene representation-independent functions implements the population layer of extended evolutionary and genetic algorithms and its support. The population layer consists of functions for initializing, logging, observing, evaluating a population of genes, as well as of computing the next population. For parallel evaluation of a population of genes 4 execution models - named Sequential, MultiCore, FutureApply, and Cluster - are provided. They are implemented by configuring the lapply() function. The execution model FutureApply can be externally configured as recommended by Bengtsson (2021) <doi:10.32614/RJ-2021-048>. Configurable acceptance rules and cooling schedules (see Kirkpatrick, S., Gelatt, C. D. J, and Vecchi, M. P. (1983) <doi:10.1126/science.220.4598.671>, and Aarts, E., and Korst, J. (1989, ISBN:0-471-92146-7) offer simulated annealing or greedy randomized approximate search procedure elements. Adaptive crossover and mutation rates depending on population statistics generalize the approach of Stanhope, S. A. and Daida, J. M. (1996, ISBN:0-18-201-031-7). For xega's architecture, see Geyer-Schulz, A. (2025) <doi:10.5445/IR/1000187255>.