diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index 992f8f7..8a12d42 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -4,16 +4,11 @@
-
-
+
-
-
-
-
@@ -43,49 +38,6 @@
"second": "2afc8825-f511-4d8a-8cc1-901875567c84"
}
}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
@@ -97,26 +49,26 @@
- {
+ "keyToString": {
+ "RunOnceActivity.OpenProjectViewOnStart": "true",
+ "RunOnceActivity.ShowReadmeOnStart": "true",
+ "WebServerToolWindowFactoryState": "false",
+ "full.screen.before.presentation.mode": "false",
+ "git-widget-placeholder": "main",
+ "ignore.virus.scanning.warn.message": "true",
+ "node.js.detected.package.eslint": "true",
+ "node.js.detected.package.tslint": "true",
+ "node.js.selected.package.eslint": "(autodetect)",
+ "node.js.selected.package.tslint": "(autodetect)",
+ "nodejs_package_manager_path": "npm",
+ "project.structure.last.edited": "Project",
+ "project.structure.proportion": "0.0",
+ "project.structure.side.proportion": "0.0",
+ "settings.editor.selected.configurable": "preferences.pluginManager",
+ "vue.rearranger.settings.migration": "true"
}
-}]]>
+}
@@ -212,6 +164,7 @@
+
@@ -221,7 +174,31 @@
1704734947115
-
+
+
+ 1704749802065
+
+
+
+ 1704749802065
+
+
+
+ 1704749806556
+
+
+
+ 1704749806556
+
+
+
+ 1704749811525
+
+
+
+ 1704749811525
+
+
@@ -230,26 +207,18 @@
-
+
+
+
-
- file://$PROJECT_DIR$/src/test/java/ab1/tests/ComplexTests.java
- 171
-
-
file://$PROJECT_DIR$/src/test/java/ab1/tests/ComplexTests.java
15
-
- file://$PROJECT_DIR$/src/main/java/ab1/impl/GRUPPE/NFAImpl.java
- 347
-
-
diff --git a/src/main/java/ab1/impl/GRUPPE/NFAImpl.java b/src/main/java/ab1/impl/GRUPPE/NFAImpl.java
index 03d74d2..57908e3 100644
--- a/src/main/java/ab1/impl/GRUPPE/NFAImpl.java
+++ b/src/main/java/ab1/impl/GRUPPE/NFAImpl.java
@@ -314,15 +314,15 @@ public class NFAImpl implements NFA {
// state -> accepting
// accepting -> state
- Set newAcceptingstate = new HashSet<>();
+ Set newAcceptingState = new HashSet<>();
for (String state : fakeNFA.getStates()) {
if (!fakeNFA.getAcceptingStates().contains(state)) {
- newAcceptingstate.add(state);
+ newAcceptingState.add(state);
}
}
fakeNFA.acceptingStates.clear();
- fakeNFA.addAllAcceptingStates(newAcceptingstate);
+ fakeNFA.addAllAcceptingStates(newAcceptingState);
Set originalAlphabet = new HashSet<>(fakeNFA.alphabet);