Finite automata and modeling

Source: Internet
Author: User
Tags definition

Objective

When you learn programming languages in school, none of the examples you can touch are related to the real world. Most of them focus on the level of detail in the language, there is no concept of the model, and I think, to really let others understand how the model is built, the best way is to start from a real thing, and gradually build a relationship with the physical world can be a corresponding model out. In this way, in future practice, it is easy to model unknown objects mathematically. The biggest feature of OO is not the concept of inheritance, polymorphism, but the corresponding relationship with the physical world!

Select finite automata as an example, there are several considerations:

Finite automata is almost the simplest mathematical model, that is to say, it is an object in itself

This thing is a relatively central thing in computational theory, and it's interesting.

The formal definition of finite automata is clear, precise, and simple.

Of course, the main purpose of the article is not to say that the finite state machine computing capacity, we should focus on how to learn from the examples of the basic methods of modeling. Okay, here we go:

Finite automatic machine

Finite automata is a kind of abstract machine, its descriptive ability and resources (storage) are relatively limited. Its use is very extensive, especially in the electromechanical integration of a lot of places to use, and the combination of poor automata and Markov chain is the basis of today's pattern recognition (speech recognition, optical character recognition, etc.).

The formal definition of finite automata is very simple, and is a 5-tuple group (q,σ,δ, Q0, F), where

Q is a poor set, called a state set, that defines the state of all automata

Σ is a poor set, called the alphabet.

Δ is a transfer function,qxσ-> Q

Q0∈q is actually the state

F⊆q is a set of accepted states (can have multiple accepted states s)

In other words, the above only determines a finite automaton, the automatic opportunity has two final states, accept or reject.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.