Model of computation

From WikiMD's medical encyclopedia

Model of Computation is a formal framework used in Computer Science and Mathematics to describe the computational abilities of a machine. It is a theoretical construct that defines the rules of computation, including the set of allowable operations, the format and type of inputs and outputs, and the speed or cost of operations.

Definition

A Model of Computation consists of three main components:

  1. States: These are the configurations that a machine can be in. For example, in a Turing machine, the state includes the current position of the head, the current state of the machine, and the contents of the tape.
  2. Transitions: These are the rules that determine how the machine moves from one state to another. In a Turing machine, the transition function takes the current state and the current tape symbol as input and outputs the new state, the new tape symbol, and the direction in which to move the head.
  3. Start and Accept States: The start state is the state in which the machine begins its computation. The accept states (also known as final or halting states) are the states in which the machine can halt and accept the input.

Types of Models of Computation

There are several types of models of computation, each with its own strengths and weaknesses. Some of the most common include:

  1. Turing Machines: These are the most powerful model of computation, capable of simulating any other model. They are used as the standard against which other models are compared.
  2. Finite Automata: These are the simplest model of computation, capable of recognizing regular languages.
  3. Pushdown Automata: These are more powerful than finite automata, capable of recognizing context-free languages.
  4. Random Access Machines: These are a model of computation that more closely resembles modern computers, with random access memory and a set of basic operations.

Complexity Theory

In Complexity Theory, models of computation are used to classify problems based on their computational complexity. The most well-known complexity classes, P and NP, are defined in terms of a deterministic Turing machine and a non-deterministic Turing machine, respectively.

See Also

Stub icon
   This article is a computer science stub. You can help WikiMD by expanding it!




Stub icon
   This article is a mathematics-related stub. You can help WikiMD by expanding it!
Navigation: Wellness - Encyclopedia - Health topics - Disease Index‏‎ - Drugs - World Directory - Gray's Anatomy - Keto diet - Recipes

Transform your life with W8MD's budget GLP-1 injections from $125.

W8mdlogo.png
W8MD weight loss doctors team

W8MD offers a medical weight loss program to lose weight in Philadelphia. Our physician-supervised medical weight loss provides:

NYC weight loss doctor appointments

Start your NYC weight loss journey today at our NYC medical weight loss and Philadelphia medical weight loss clinics.

Linkedin_Shiny_Icon Facebook_Shiny_Icon YouTube_icon_(2011-2013) Google plus


Advertise on WikiMD

WikiMD's Wellness Encyclopedia

Let Food Be Thy Medicine
Medicine Thy Food - Hippocrates

Medical Disclaimer: WikiMD is not a substitute for professional medical advice. The information on WikiMD is provided as an information resource only, may be incorrect, outdated or misleading, and is not to be used or relied on for any diagnostic or treatment purposes. Please consult your health care provider before making any healthcare decisions or for guidance about a specific medical condition. WikiMD expressly disclaims responsibility, and shall have no liability, for any damages, loss, injury, or liability whatsoever suffered as a result of your reliance on the information contained in this site. By visiting this site you agree to the foregoing terms and conditions, which may from time to time be changed or supplemented by WikiMD. If you do not agree to the foregoing terms and conditions, you should not enter or use this site. See full disclaimer.
Credits:Most images are courtesy of Wikimedia commons, and templates, categories Wikipedia, licensed under CC BY SA or similar.

Contributors: Prab R. Tumpati, MD