diff options
author | 2023-08-08 19:47:51 +0200 | |
---|---|---|
committer | 2023-08-08 19:47:51 +0200 | |
commit | 5154a8055112de064ebf3bcf5be8065ac3dc8b7b (patch) | |
tree | 7e2f7e49a9e2cfb327c46b28502ce2cebadeb3c0 /subprojects/store/src/main | |
parent | Merge pull request #35 from OszkarSemerath/datastructure (diff) | |
download | refinery-5154a8055112de064ebf3bcf5be8065ac3dc8b7b.tar.gz refinery-5154a8055112de064ebf3bcf5be8065ac3dc8b7b.tar.zst refinery-5154a8055112de064ebf3bcf5be8065ac3dc8b7b.zip |
SuppressWarnings for using deterministic random in hash code generation.
Diffstat (limited to 'subprojects/store/src/main')
-rw-r--r-- | subprojects/store/src/main/java/tools/refinery/store/statecoding/neighbourhood/AbstractNeighbourhoodCalculator.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/subprojects/store/src/main/java/tools/refinery/store/statecoding/neighbourhood/AbstractNeighbourhoodCalculator.java b/subprojects/store/src/main/java/tools/refinery/store/statecoding/neighbourhood/AbstractNeighbourhoodCalculator.java index 8fcf24b1..0a40a19d 100644 --- a/subprojects/store/src/main/java/tools/refinery/store/statecoding/neighbourhood/AbstractNeighbourhoodCalculator.java +++ b/subprojects/store/src/main/java/tools/refinery/store/statecoding/neighbourhood/AbstractNeighbourhoodCalculator.java | |||
@@ -24,6 +24,7 @@ public abstract class AbstractNeighbourhoodCalculator { | |||
24 | protected AbstractNeighbourhoodCalculator(List<? extends Interpretation<?>> interpretations, IntSet individuals) { | 24 | protected AbstractNeighbourhoodCalculator(List<? extends Interpretation<?>> interpretations, IntSet individuals) { |
25 | this.nullImpactValues = new ArrayList<>(); | 25 | this.nullImpactValues = new ArrayList<>(); |
26 | this.impactValues = new LinkedHashMap<>(); | 26 | this.impactValues = new LinkedHashMap<>(); |
27 | @SuppressWarnings("squid:S2245") | ||
27 | Random random = new Random(1); | 28 | Random random = new Random(1); |
28 | 29 | ||
29 | individualHashValues = new IntLongHashMap(); | 30 | individualHashValues = new IntLongHashMap(); |