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);
        }
        public static TuringMachine AlternatingZerosOnes()
        {
            var printZerosOnesTable = new MachineTable();

            printZerosOnesTable.AddEntry(new MachineTableEntry("b", Symbols.AnySymbol, new List<string> { "P0", "R" }, "c"));
            printZerosOnesTable.AddEntry(new MachineTableEntry("c", Symbols.AnySymbol, new List<string> { "R" }, "e"));
            printZerosOnesTable.AddEntry(new MachineTableEntry("e", Symbols.AnySymbol, new List<string> { "P1", "R" }, "f"));
            printZerosOnesTable.AddEntry(new MachineTableEntry("f", Symbols.AnySymbol, new List<string> { "R" }, "b"));

            var machine = new TuringMachine(printZerosOnesTable, "b") { Name = "Print alternating zeros ones" };

            return machine;
        }
 public void Init()
 {
     this._machinePrintingOnes = MachineInstancesFactory.OnlyZeros();
 }
 public void Init()
 {
     this._machine = MachineInstancesFactory.AlternatingZerosOnes();
 }