Jump to content

File:Busy Beaver 4-state 2-symbol Run.gif

Page contents not supported in other languages.
This is a file from the Wikimedia Commons
From Wikipedia, the free encyclopedia

Original file (644 × 1,628 pixels, file size: 25 KB, MIME type: image/gif)

Summary

C source code for machine description
#define tapeMax                 ((posT)16)

static char tape[tapeMax] = { 
/*       0   1   2   3   4   5   6   7   8   9  10  11  12  13  14  15  */
        '_','_','_','_','_','_','_','_','_','_','_','_','_','_','_','_',
};

static posT startPos = 11; 



#define stateMax                ((stateT)4+1)
#define symMax                  ((symT)2)



static const char symName[symMax] = { 
/*       0    1         */
        '_', '1',
};



static const char stateName[stateMax] = { 
/*       0    1    2    3    4  */
        'A', 'B', 'C', 'D', 'h',
};



static const char * const trans[symMax][stateMax] = { 
/*          A      B      C      D      h       */
/*_*/   { "B1R", "A1L", "h1R", "D1R",  NULL, },
/*1*/   { "B1L", "C_L", "D1L", "A_R",  NULL, },
};

static char startStateName = 'A';

For the Turing simulator C program that includes and interprets this description, see File:MonusTuringMachine ExampleRuns.gif.

Licensing

I, the copyright holder of this work, hereby publish it under the following license:
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 4.0 International license.
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
  • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.

Captions

Add a one-line explanation of what this file represents

Items portrayed in this file

depicts

24 March 2019

image/gif

66d81a2b9b052c6413bd0194058ca2ab607016c2

25,733 byte

1,628 pixel

644 pixel

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current14:43, 24 March 2019Thumbnail for version as of 14:43, 24 March 2019644 × 1,628 (25 KB)Jochen Burghardtincreased horizontal space between tape symbols
13:46, 24 March 2019Thumbnail for version as of 13:46, 24 March 2019472 × 1,625 (24 KB)Jochen BurghardtUser created page with UploadWizard
No pages on the English Wikipedia use this file (pages on other projects are not listed).

Global file usage

The following other wikis use this file: