We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a670b89 commit 9304f14Copy full SHA for 9304f14
rosomaxa/src/hyper/dynamic_selective.rs
@@ -342,6 +342,7 @@ where
342
.next()
343
.map(|best_known| {
344
const BEST_DISCOVERY_REWARD_MULTIPLIER: f64 = 2.;
345
+ const DIVERSE_DISCOVERY_REWARD_MULTIPLIER: f64 = 0.1;
346
347
let objective = heuristic_ctx.objective();
348
@@ -353,7 +354,7 @@ where
353
354
(Ordering::Greater, Ordering::Greater) => {
355
(distance_initial + 1.) + (distance_best + 1.) * BEST_DISCOVERY_REWARD_MULTIPLIER
356
}
- (Ordering::Greater, Ordering::Less) => distance_initial + 1.,
357
+ (Ordering::Greater, Ordering::Less) => (distance_initial + 1.) * DIVERSE_DISCOVERY_REWARD_MULTIPLIER,
358
_ => 0.,
359
360
})
0 commit comments