Removed characters, Hopcroft now supports all characters

This commit is contained in:
2017-06-12 14:04:55 +02:00
committed by Yorick Rommers
parent a33b7b9164
commit 7bfb0d671d
11 changed files with 97 additions and 69 deletions
+2 -4
View File
@@ -44,8 +44,7 @@ public class FileParser {
public static DFA<String> readDFA(BufferedReader br) throws IOException {
Character[] chars = {'a', 'b'};
DFA<String> dfa = new DFA<String>(chars);
DFA<String> dfa = new DFA<String>();
String line;
while ((line = br.readLine()) != null) {
@@ -70,8 +69,7 @@ public class FileParser {
public static NDFA<String> readNDFA(BufferedReader br) throws IOException {
Character[] chars = {'a', 'b'};
NDFA<String> ndfa = new NDFA<String>(chars);
NDFA<String> ndfa = new NDFA<String>();
String line;
while ((line = br.readLine()) != null) {
if(line.startsWith("B")) {