Module engine

Module engine 

Source
Expand description

§Engine Traits

This module provides the core engine abstraction for genetic algorithms and evolutionary computation. The Engine trait defines the basic interface for evolutionary engines, while EngineExt provides convenient extension methods for running engines with custom termination conditions.

The engine system is designed to be flexible and extensible, allowing different evolutionary algorithms to implement their own epoch types and progression logic while providing a common interface for execution control.

Traits§

Engine
A trait representing an evolutionary computation engine. The Engine trait defines the fundamental interface for evolutionary algorithms. Implementors define how the algorithm progresses from one generation/epoch to the next, encapsulating the core evolutionary logic.
EngineExt
Extension trait providing convenient methods for running engines with custom logic.