File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 2
2
3
3
All notable changes to this project will be documented in this file.
4
4
5
+ Please note, while the major version has reached 1, breaking changes can be introduced within any minor version.
6
+ I would prefer to downgrade the major version back to 0 to be more consistent with semantic versioning, but the crates
7
+ are already published. So, I stick to it for now.
8
+
5
9
6
10
## [ Unreleased]
7
11
8
12
### Removed
9
13
10
14
* GitHub sponsors functionality
11
15
* experimental ` async-evolution ` feature
16
+ * NSGA-II implementation and its usage
12
17
13
18
### Fixed
14
19
Original file line number Diff line number Diff line change @@ -342,6 +342,7 @@ where
342
342
. next ( )
343
343
. map ( |best_known| {
344
344
const BEST_DISCOVERY_REWARD_MULTIPLIER : f64 = 2. ;
345
+ const DIVERSE_DISCOVERY_REWARD_MULTIPLIER : f64 = 0.1 ;
345
346
346
347
let objective = heuristic_ctx. objective ( ) ;
347
348
@@ -353,7 +354,7 @@ where
353
354
( Ordering :: Greater , Ordering :: Greater ) => {
354
355
( distance_initial + 1. ) + ( distance_best + 1. ) * BEST_DISCOVERY_REWARD_MULTIPLIER
355
356
}
356
- ( Ordering :: Greater , Ordering :: Less ) => distance_initial + 1. ,
357
+ ( Ordering :: Greater , Ordering :: Less ) => ( distance_initial + 1. ) * DIVERSE_DISCOVERY_REWARD_MULTIPLIER ,
357
358
_ => 0. ,
358
359
}
359
360
} )
You can’t perform that action at this time.
0 commit comments