From 2b21708d9d1bf5101fabb2342795ad6a62f4adfa Mon Sep 17 00:00:00 2001 From: Anton Skalkin Date: Mon, 3 Apr 2023 22:49:23 +0400 Subject: [PATCH] comment some code --- .../ru/ulstu/method/ftransform/FTransform.java | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/main/java/ru/ulstu/method/ftransform/FTransform.java b/src/main/java/ru/ulstu/method/ftransform/FTransform.java index f84e613..4c9edd7 100644 --- a/src/main/java/ru/ulstu/method/ftransform/FTransform.java +++ b/src/main/java/ru/ulstu/method/ftransform/FTransform.java @@ -104,15 +104,15 @@ public class FTransform extends Method { return FTransformModel.getAvailableParameters(); } - private AComponent findFuzzyValueByPrevious(List fuzzyTimeSeries, AComponent currentFuzzyValue) { - Map mostFrequentValues = new HashMap<>(); - for (int i = 0; i < fuzzyTimeSeries.size() - 1; i++) { - if (fuzzyTimeSeries.get(i).equals(currentFuzzyValue)) { - mostFrequentValues.put(fuzzyTimeSeries.get(i + 1), mostFrequentValues.getOrDefault(fuzzyTimeSeries.get(i + 1), 0) + 1); - } - } - mostFrequentValues.entrySet().stream() - } +// private AComponent findFuzzyValueByPrevious(List fuzzyTimeSeries, AComponent currentFuzzyValue) { +// Map mostFrequentValues = new HashMap<>(); +// for (int i = 0; i < fuzzyTimeSeries.size() - 1; i++) { +// if (fuzzyTimeSeries.get(i).equals(currentFuzzyValue)) { +// mostFrequentValues.put(fuzzyTimeSeries.get(i + 1), mostFrequentValues.getOrDefault(fuzzyTimeSeries.get(i + 1), 0) + 1); +// } +// } +// mostFrequentValues.entrySet().stream() +// } @Override public String getName() {