GithubHelp home page GithubHelp logo

kumar-apurva / busy-beaver-turing-machine Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 1.0 677 KB

Code for Busy Beaver Problem in Jupyter Notebook and code for 2 states 2 symbols and 3 states 2 symbols Busy Beaver for the online simulator https://turingmachine.io/

Jupyter Notebook 100.00%

busy-beaver-turing-machine's Introduction

Busy-Beaver-Turing-Machine

Busy Beaver Problem aims at finding the best turing machine which produces maximum number of 1's on an infinite length tape cell initially filled with all 0's and which finally halts.

It consists of symbols (m) and states (n).

Two functions are defined for a Busy Beaver Problem :-

 1. Σ(n,m): the largest number of 1's(or non 0's in case of symbols >2) printable by an n-state m-symbols machine before halting, 
 
 2. S(n,m): the largest number of steps taken by an n-state m-symbols machine before halting.

The code is for 2 symbols (0 and 1) and 5 different states (1, 2, 3, 4, 5) and computes Σ(n,m) and S(n,m) for the best turing machines for each states.

We have taken help from this website https://catonmat.net/busy-beaver

We have also simulated 2 state 2 symbols and 3 state 2 symbols Busy Beaver Turing Machine on online simulator https://turingmachine.io/

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.