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

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Busy_Beaver_2-state_2-symbol_Run.gif(644 × 114 pixels, file size: 1 KB, MIME type: image/gif)

Captions

Captions

Add a one-line explanation of what this file represents

Summary[edit]

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 = 8;



#define stateMax                ((stateT)2+1)   /* state count */
#define symMax                  ((symT)2)       /* alphabet size */



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



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



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

static char startStateName = 'A';

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

Licensing[edit]

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.

File history

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

Date/TimeThumbnailDimensionsUserComment
current14:42, 24 March 2019Thumbnail for version as of 14:42, 24 March 2019644 × 114 (1 KB)Jochen Burghardt (talk | contribs)increased horizontal space between tape symbols
13:46, 24 March 2019Thumbnail for version as of 13:46, 24 March 2019456 × 114 (1 KB)Jochen Burghardt (talk | contribs)User created page with UploadWizard

There are no pages that use this file.