Skip to main content

Module algorithms

Module algorithms 

Source
Expand description

Algorithm layer for optimization execution.

This module exposes:

  • the Algorithm trait (shared runtime contract),
  • built-in algorithm implementations,
  • termination criteria and execution snapshots,
  • async helpers for running multiple algorithm instances.

Typical users consume algorithm types through roma::algorithms or roma::prelude.

Structs§

DifferentialEvolution
Differential Evolution optimizer for bounded real-valued problems.
DifferentialEvolutionParameters
Configuration for DifferentialEvolution.
ExecutionContext
Execution context passed to algorithm routines.
ExecutionStateSnapshot
Shared execution snapshot emitted by algorithms and consumed by termination logic/observers.
GeneticAlgorithm
GeneticAlgorithmParameters
HillClimbing
Hill Climbing optimization algorithm.
HillClimbingParameters
Configuration parameters for the Hill Climbing algorithm.
NSGAII
NSGAIIParameters
PSO
PSOParameters
Configuration parameters for Binary PSO.
SimulatedAnnealing
SimulatedAnnealingParameters
TabuSearch
Tabu Search optimizer for discrete and combinatorial problems.
TabuSearchParameters
Configuration for TabuSearch.
TerminationController
TerminationCriteria
Aggregates termination criteria in a single structure.
TerminationState
Internal state used to track stopping-criteria progress.
VNS
Variable Neighborhood Search optimizer parameterized by explicit neighborhood operators.
VNSParameters
Configuration for VNS.

Enums§

TerminationCriterion
Defines stopping criteria for optimization algorithms.
TerminationReason

Traits§

Algorithm
Basic interface for all optimization algorithms.
StepStateCheckpoint

Functions§

run_algorithm_instances_async
Executes a batch of algorithm instances concurrently over one shared problem.
run_algorithms_async
Executes a batch of independent jobs concurrently.
spawn_algorithm_run
Spawns one algorithm execution in a dedicated thread.