Jump to content

File:Busy Beaver 3-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

Busy_Beaver_3-state_2-symbol_Run.gif (644 × 231 pixels, file size: 3 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 = 8;



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



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



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



static const char * const trans[symMax][stateMax] = { 
/*          A      B      C      h      */
/*_*/   { "B1R", "C_R", "C1L",  NULL, },
/*1*/   { "h1R", "B1R", "A1L",  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

7052d50d1f64e23fbb5be54ef7ada084e2b9b615

3,002 byte

231 pixel

644 pixel

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 × 231 (3 KB)Jochen Burghardtincreased horizontal space between tape symbols
13:46, 24 March 2019Thumbnail for version as of 13:46, 24 March 2019465 × 231 (3 KB)Jochen BurghardtUser created page with UploadWizard
No pages on the English Wikipedia use this file (pages on other projects are not listed).