Expand description
Algorithm layer for optimization execution.
This module exposes:
- the
Algorithmtrait (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§
- Differential
Evolution - Differential Evolution optimizer for bounded real-valued problems.
- Differential
Evolution Parameters - Configuration for
DifferentialEvolution. - Execution
Context - Execution context passed to algorithm routines.
- Execution
State Snapshot - Shared execution snapshot emitted by algorithms and consumed by termination logic/observers.
- Genetic
Algorithm - Genetic
Algorithm Parameters - Hill
Climbing - Hill Climbing optimization algorithm.
- Hill
Climbing Parameters - Configuration parameters for the Hill Climbing algorithm.
- NSGAII
- NSGAII
Parameters - PSO
- PSOParameters
- Configuration parameters for Binary PSO.
- Simulated
Annealing - Simulated
Annealing Parameters - Tabu
Search - Tabu Search optimizer for discrete and combinatorial problems.
- Tabu
Search Parameters - Configuration for
TabuSearch. - Termination
Controller - Termination
Criteria - Aggregates termination criteria in a single structure.
- Termination
State - Internal state used to track stopping-criteria progress.
- VNS
- Variable Neighborhood Search optimizer parameterized by explicit neighborhood operators.
- VNSParameters
- Configuration for
VNS.
Enums§
- Termination
Criterion - Defines stopping criteria for optimization algorithms.
- Termination
Reason
Traits§
- Algorithm
- Basic interface for all optimization algorithms.
- Step
State Checkpoint
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.