diff options
| author | tslil clingman <tslil@posteo.de> | 2022-10-22 22:50:55 +0200 |
|---|---|---|
| committer | tslil clingman <tslil@posteo.de> | 2022-10-22 22:50:55 +0200 |
| commit | 677bba1a9043d6f8a728c26d4c3126ac1b6ab9b7 (patch) | |
| tree | 153e224582d90cc6dd4c0818728a936914288ea1 /srchr/src/config.rs | |
| parent | fa2ced8062514f1e53b227989667e298cd8795af (diff) | |
knob for lsb vs balance
Diffstat (limited to 'srchr/src/config.rs')
| -rw-r--r-- | srchr/src/config.rs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/srchr/src/config.rs b/srchr/src/config.rs index f89aa18..76b9285 100644 --- a/srchr/src/config.rs +++ b/srchr/src/config.rs @@ -19,8 +19,8 @@ pub const NUM_PERSIST: usize = 8; pub const MAX_NUM_TRANSPOSITIONS: usize = 6; // Fitness parameters -pub const STANDARD_DSFB_WEIGHT: f32 = 1.0 / 3.0; -pub const INDEX_DSFB_WEIGHT: f32 = 1.0 / 3.0; +pub const STANDARD_DSFB_WEIGHT: f32 = 1.0 / 16.0; +pub const INDEX_DSFB_WEIGHT: f32 = 1.0 / 16.0; pub const MIN_INDEX_USAGE_PERCENT: f32 = 0.12; pub fn index_usage_fitness(index_perc: f32) -> f32 { @@ -44,6 +44,9 @@ pub fn pinky_col_penalty(lesser_perc: f32, greater_perc: f32) -> f32 { } } +// Pre-layout to layout +pub const MINIMISE_LSB_INSTEAD_OF_OPTIMISING_BALANCE: bool = true; + // ----------------------------------------------------------------------------- // Do not change the following, the code makes assumptions about these // ----------------------------------------------------------------------------- |
