Expand description
§Problem Abstraction
This module provides the core problem abstraction for genetic algorithms, defining how genotypes are encoded, decoded, and evaluated. The Problem trait serves as the central interface that combines encoding/decoding logic with fitness evaluation, making it easy to implement custom problems while maintaining a consistent API.
The module provides both the trait definition and concrete implementations:
- Problem trait: Core interface for genetic algorithm problems
- EngineProblem: Standard implementation using individual fitness functions
- BatchEngineProblem: Optimized implementation for batch fitness evaluation
Structs§
- Batch
Engine Problem - A specialized implementation of the Problem trait optimized for batch evaluation.
- Engine
Problem - EngineProblem is a generic, base level concrete implementation of the Problem trait that is the default problem used by the engine if none other is specified during building.
Traits§
- Problem
- The core interface for genetic algorithm problems.