Anzeige von aktuellem Zustand

This commit is contained in:
leobr 2022-05-08 22:22:50 +02:00
parent c0fd79798c
commit 08db5c1342
1 changed files with 3 additions and 0 deletions

View File

@ -32,7 +32,9 @@ public class TM {
try { try {
calcOneStep(); calcOneStep();
appendToBand(); appendToBand();
System.out.println("Step: "+numberOfSteps); System.out.println("Step: "+numberOfSteps);
System.out.println("Aktueller zustand: Q" + aktuellerZustand);
System.out.println(this); System.out.println(this);
} catch (TmException e) { } catch (TmException e) {
e.printStackTrace(); e.printStackTrace();
@ -40,6 +42,7 @@ public class TM {
} }
} }
System.out.println("Finished:"); System.out.println("Finished:");
System.out.println("Zustand: Q" + aktuellerZustand);
System.out.println("Step: "+numberOfSteps); System.out.println("Step: "+numberOfSteps);
System.out.println(this); System.out.println(this);
} }