A tutorial on finite automata


On language problems

A membership problem is the problem of deciding whether a word belongs to a language. A decision problem D is defined by giving a set of instances, codified in a suitable way, and a question over it with yes or no answer.

Example

Given the following problem P:
Given an integer m, find the integer n such that n^2 = m
A decision problem D is:
Given two integers m and n, is m = n^2 ?

The language associated to a decision problem D is the set of strings that are images of instances with yes answer.
Back to Index