public void Init()
        {
            var printOnesTable = new MachineTable();
            var machineTableEntry = new MachineTableEntry("q1", Symbols.AnySymbol, new List<string> { "P1,R" }, "q1");
            var initialConfiguration = machineTableEntry.MConfiguration;

            printOnesTable.AddEntry(machineTableEntry);

            this._machinePrintingOnes = new TuringMachine(printOnesTable, initialConfiguration);
        }
Exemple #2
0
 public void AddEntry(MachineTableEntry entry)
 {
     _entries.Add(entry);
 }