|
| 1 | +# Changelog |
| 2 | + |
| 3 | +All notable changes to this project will be documented in this file. |
| 4 | + |
| 5 | +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), |
| 6 | +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). |
| 7 | + |
| 8 | +## [0.1.0] - 2025-12-12 |
| 9 | + |
| 10 | +### Added |
| 11 | + |
| 12 | +- **Core Genetic Algorithm Framework** |
| 13 | + - `SimpleGA` builder pattern for easy algorithm configuration |
| 14 | + - Generational evolution with configurable operators |
| 15 | + - Elitism support for preserving best individuals |
| 16 | + |
| 17 | +- **Genome Types** |
| 18 | + - `RealVector` for continuous optimization |
| 19 | + - `BitString` for binary/combinatorial problems |
| 20 | + - `Permutation` for ordering problems (TSP, scheduling) |
| 21 | + - `TreeGenome` for genetic programming |
| 22 | + - Unified `EvolutionaryGenome` trait abstraction |
| 23 | + |
| 24 | +- **Selection Operators** |
| 25 | + - `TournamentSelection` with configurable tournament size |
| 26 | + - `RouletteWheelSelection` (fitness-proportionate) |
| 27 | + - `TruncationSelection` for steady-state evolution |
| 28 | + - `RankSelection` for rank-based selection |
| 29 | + - `BoltzmannSelection` with temperature parameter |
| 30 | + |
| 31 | +- **Crossover Operators** |
| 32 | + - `SbxCrossover` (Simulated Binary Crossover) for real-valued genomes |
| 33 | + - `UniformCrossover` for bit strings |
| 34 | + - `SinglePointCrossover` and `TwoPointCrossover` |
| 35 | + - `OrderCrossover` (OX) for permutations |
| 36 | + - `SubtreeCrossover` for tree genomes |
| 37 | + |
| 38 | +- **Mutation Operators** |
| 39 | + - `PolynomialMutation` for real-valued genomes |
| 40 | + - `GaussianMutation` with adaptive step sizes |
| 41 | + - `BitFlipMutation` for bit strings |
| 42 | + - `SwapMutation` and `InsertMutation` for permutations |
| 43 | + - `PointMutation` and `SubtreeMutation` for trees |
| 44 | + |
| 45 | +- **Advanced Algorithms** |
| 46 | + - `CmaEs` (Covariance Matrix Adaptation Evolution Strategy) |
| 47 | + - `NSGA2` for multi-objective optimization with Pareto fronts |
| 48 | + - `IslandModel` for parallel evolution with migration |
| 49 | + |
| 50 | +- **Fugue PPL Integration** |
| 51 | + - `to_trace()` and `from_trace()` for probabilistic programming interop |
| 52 | + - Trace-based evolutionary operators |
| 53 | + - Bayesian hyperparameter learning with `BetaPosterior` |
| 54 | + |
| 55 | +- **Production Features** |
| 56 | + - Checkpointing with `CheckpointManager` (JSON, Binary, Compressed) |
| 57 | + - Convergence detection with configurable criteria |
| 58 | + - Evolution statistics tracking |
| 59 | + - Termination conditions (max generations, target fitness, stagnation) |
| 60 | + |
| 61 | +- **Benchmark Functions** |
| 62 | + - `Sphere`, `Rastrigin`, `Rosenbrock`, `Ackley`, `Griewank` |
| 63 | + - `OneMax`, `LeadingOnes` for bit strings |
| 64 | + - `SymbolicRegression` for GP benchmarks |
| 65 | + |
| 66 | +- **Examples** |
| 67 | + - `sphere_optimization.rs` - Basic continuous optimization |
| 68 | + - `rastrigin_benchmark.rs` - Multimodal function optimization |
| 69 | + - `cma_es_example.rs` - CMA-ES for Rosenbrock |
| 70 | + - `island_model.rs` - Parallel island model |
| 71 | + - `checkpointing.rs` - Save/restore evolution state |
| 72 | + - `symbolic_regression.rs` - Genetic programming |
| 73 | + - `hyperparameter_learning.rs` - Bayesian adaptation |
| 74 | + |
| 75 | +- **Testing** |
| 76 | + - Comprehensive unit tests (370+ tests) |
| 77 | + - Property-based tests with proptest (21 tests) |
0 commit comments