1
- ## 2.0.0 - unreleased
1
+ ## 2.0.0 - 2025-5-10
2
2
3
3
Breaking Changes:
4
- * Replaced ` .search_space ` and ` .search_spaces ` with the ` .gene ` macro-style method for defining genetic attributes.
4
+ * Replaced legacy .search_space and .search_spaces definitions with the new .gene macro-style for defining genetic attributes.
5
5
* Renamed ` #value ` to ` #fitness ` throughout the codebase for clarity.
6
6
* Removed deprecated ` Gene.crossover ` in favor of ` Gene.combine ` .
7
7
* Removed deprecated ` Evolution#crossover ` in favor of ` Evolution#combination ` .
8
8
* Renamed ` Evolvable#after_initialize ` to ` Evolvable#after_initialize_evolvable ` .
9
9
* Changed population initialization and evolvable creation workflow for more consistency.
10
- * Simplified error handling in favor of more single ` Evolvable::Error ` type with more informative messages.
10
+ * Simplified error handling by unifying all exceptions under a single Evolvable::Error type
11
11
* Changed ` Population#new_evolvables ` to only accept a ` count ` parameter, removing the ` evolvables ` parameter.
12
12
* Changed default ` size ` parameter in ` Population#initialize ` from 40 to 0.
13
13
* Changed ` Population#evolve ` default ` count ` parameter from ` Float::INFINITY ` to ` 1 ` .
@@ -17,10 +17,9 @@ New Features:
17
17
* Introduced the ` Evolvable::GeneCluster ` module for complex gene grouping.
18
18
* Added ` Evolvable::Community ` for managing multiple populations and their interactions.
19
19
* Added genome merging capabilities with ` merge_genome! ` and ` load_and_merge_genome! ` .
20
- * Improved inheritance support for evolvable classes, preserving gene configurations.
21
20
* Added ` evolve_selected ` method to Population for evolving a specific subset of evolvables.
22
- * Added direct access to genes and gene clusters through automatically generated methods .
23
- * Added new evolution API methods: ` evolve_to_goal ` and ` evolve_forever ` for more intuitive control over the evolution process .
21
+ * Added automatic method generation for accessing genes and gene clusters by name .
22
+ * Added new evolution control methods: evolve_to_goal and evolve_forever for more intuitive lifecycle control .
24
23
* Comprehensive YARD documentation and README overhaul.
25
24
26
25
## 1.2.0 - 2022-1-22
0 commit comments