Site Visited 498534 times | Page Visited 17 times | You are in : Etantonio/EN/Universita/1anno/FondamentiInformatica/ModelliCalcolo/Turing/ |
Machine of Turing that searches a number on a limitless tape State begins them: the testina of reading and writing can be posizionata on one cell whichever of the tape. State finale : the testina of reading and writing is posizionata on the less meaningful figure of the n°. Description algorithm: since the tape is limitless, the search of the n° pu² not to only happen in a back in how much if this is wrong, never does not catch up the n° same. The search happens alternating the 2 steps: a) search of the n° to sx with riscrittura of X present and writing of one X in place of 1° blank the that follows the X. b) search of the n° to dx with riscrittura of X present and writing of one X in place of 1° blank the that follows the X. When the n° it comes characterized, comes cancelled all the X inserted on the tape and us posiziona on the less meaningful figure of the n°. Matrix works them
Example of computazione of tightens
|