Skip to main content

Module convergence

Module convergence 

Source
Expand description

Convergence detection for evolutionary algorithms

This module provides various methods to detect when an evolutionary algorithm has converged or should terminate.

Structs§

ConvergenceConfig
Configuration for convergence detection
ConvergenceDetector
Convergence detector that tracks evolution state
TerminationCriteria
Termination criteria for evolutionary algorithms

Enums§

ConvergenceReason
Reason for convergence
ConvergenceStatus
Result of a convergence check
TerminationCriterion
A single termination criterion

Functions§

detect_stagnation
Detect fitness stagnation in a history of fitness values
evolutionary_ess
Effective Sample Size (ESS) for evolutionary SMC
evolutionary_ess_log
Effective Sample Size from log weights
evolutionary_rhat
R-hat analog for evolutionary convergence
fitness_convergence
Compute population convergence from fitness values