A Turing machine brought to life using Lego.
(OT) Lego Turing machine
|
06-21-2012, 09:33 AM
06-21-2012, 11:59 AM
Thanks for sharing! Great stuff!!! I'll tell my students about it. Cheers.
06-21-2012, 01:24 PM
Well, now I've seen (almost) everything. Fascinating and very cool! Thanks!
06-21-2012, 05:20 PM
Pity about the Turing complete Mindstorms controller that powers it :-)
06-22-2012, 03:13 AM
Hi + o o + o o + + + + + + ... But the "tape at end of the video" is showing samething like that : + o o + o o + o o o o o o o o o o o o o o o o I had expected something more like this: + o o + o o + o o o o + ? ? ? ? ? ? ? ? ? Apparently, I am in trouble at interpreting Turing's machine code ! C.Ret
Edited: 22 June 2012, 3:14 a.m.
06-22-2012, 08:14 AM
06-22-2012, 08:44 AM
The machine constructed only has data not code in the tape. The reasons given for this are a) that they didn't want people viewing the exhibit to be able to easily mess it up and b) they only wanted to use just one Mindstorms kit so didn't have space for a full version. As for the result, the video does highlight a bank of 4 switches as the answer. Perhaps you need to look again? ;-)
06-22-2012, 09:33 AM
I think that's OK. The standard model of a Turing machine doesn't have any code on the tape. The "code" is a table of (state, symbol, action) triples (or equivalent) which lives somewhere, which I've always mentally pictured as a kind of finite state automaton sitting next to and hooked up to the read head. A universal Turing machine - which can simulate any Turing machine, even itself - allows code to appear on the tape, but this is just code-as-data. The TM-simulation logic still exists off the tape. So I think it's fine to put the code (state machine) in the Mindstorms block. It would be cool to simulate the whole thing in Lego but I don't know what that would look like. Cheers
06-23-2012, 12:35 PM
OK! Thank you. I just review the video at a better Internet connection that allow me to stop, go backward and forward the video. You are right, in my first quick watch (at low speed connection), I miss a few detail, especially the state of the tape at the end of the process ( which have nothing to do with the 'tape' in the end-credit-generic) ! There is nothing wrong, apparently, the resulting state of the "computed" tape is + o o + o o + o o o o + + + + ...as one may expected.
I still wonder how is such a ‘program’ looking, for example able to add two integer values and write the result in the format of this demo: + o o ... o o + o o ... o o + o o o ... o o o +
How many internal states and transition rules?
|
« Next Oldest | Next Newest »
|