Genetic Population Level Functions
Overview
This collection of gene representation-independent functions implements the population layer of extended evolutionary and genetic algorithms and its support for the R-package 'xega' https://CRAN.R-project.org/package=xega. 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.
- xegaObservePopulation: Number of genes with same fitness added as 9th value in statistics vector. Indicates premature convergence.
From NEWS in the release
Install
Health
- OK13 OK2026-08-04
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-03-10
Documentation
- Help pages
- 63includes a package overview page
- Examples that run
- 100%45 run in a plain check
- Exported functions with examples
- 76%
- Documented parameters
- 100%
- Return-value docs
- 98%
- Help pages citing references
- 17%
Downloads
Repository
Checks run against github.com/ageyerschulz/xegapopulation on 2026-10-22.
No development-tooling practices detected in the upstream repository.
Dependencies
Installing xegaPopulation adds 9 packages (3 with compiled code, 2.0 MB of source tarballs). Heaviest: rlang 766 KB, future 477 KB, parallelly 343 KB.
Code & Tests
People & History
Pick two releases to compare their code metrics.
- 1.0.0.16Latest
- RR 4.6.0 released · 2026-04-24
- 1.0.0.12
- 1.0.0.112025-11-26 · diff ↗
- 1.0.0.102025-08-22 · diff ↗
- 1.0.0.8
- 1.0.0.72025-04-16 · diff ↗ ·
added 14 exports
MClapplyHet, PparLapplyHet, TerminationFactory, checkTerminationFactory, futureLapplyHet, terminateAbsoluteError, terminateGEQ, terminateLEQ, terminatePAC, terminateRelativeError, terminateRelativeErrorZero, terminatedFalse, xegaEvalPopulationFactory, xegaRepEvalPopulation - RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- 1.0.0.02024-03-04
- RR 4.3.0 released · 2023-04-21
Package metadata
- First published
- 2024-03-04
- Total releases
- 7 / 2 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 4.0.0
- Download size
- 48 KB
Cite
Cite this package
Run in R for the authors' entry:
citation("xegaPopulation")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.5445/ir/1000187255.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-25, which the citation names so these numbers can be found later. More on citing and the projects behind them.