ArticleslgStudy

astronomy

Automata-based programming (Shalyto's approach)

Automata-based programming (Shalyto's approach) is a astronomy topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Automata-based programming (Shalyto's approach) rather than just read about it. In short: Automata-based programming is a programming technology. Its defining characteristic is the use of finite-state machines to describe program behavior.

Key takeaways

  • Automata-based programming (Shalyto's approach) belongs to astronomy; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Automata-based programming (Shalyto's approach) to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Automata-based programming (Shalyto's approach) from memory before moving on to harder problems.

Reference excerpt

Automata-based programming is a programming technology. Its defining characteristic is the use of finite-state machines to describe program behavior. The transition graphs of state machines are used in all stages of software development (specification, implementation, debugging and documentation). Automata-based programming technology was introduced by Anatoly Shalyto in 1991. Switch-technology was developed to support automata-based programming. Automata-based programming is considered to be rather general purpose program development methodology than just another one finite-state machine implementation.

Automata-based programming The main idea of suggested approach is to construct computer programs the same way the automation of technological processes (and other kinds of processes too) is done. For all that on the basis of data domain analysis the sources of input events, the control system (the system of interacting finite-state machines) and the control objects implementing output actions are singled out. These control objects can also form yet another type of input actions that are transmitted through a feedback from control objects back to the finite-state machines.

Main features In recent years great attention has been paid to the development of the technology of programming for embedded systems and real-time systems. These systems have special requirements for the quality of software. One of the best known approaches for this field of tasks is synchronous programming. Simultaneously with the advance of synchronous programming in Europe, an approach to software development for crucial systems called automata-based programming or state-based programming was being created in Russia. The term event is being used more and more widely in programming; recently it has become one of the most commonly used terms in software development. As opposed to it, the offered approach is based on the term state (State-Driven Architecture). After introduction of the term input action, which could denote an input variable or an event, the term automaton without outputs might be brought in. After adding the term output action, the term “automaton” might be used. It is the finite deterministic automaton. That is why, the sort of programming, which is based on this term, was called “automata-based programming”. So the process of software creation could be named “automata software design”. The feature of this approach is that automata used for development are defined with the help of transition graphs. In order to distinguish the nodes of these graphs the term state coding has been introduced. With multivalued state coding a single variable can be used to distinguish states of automaton, the number of states is equal to the number of values this variable can take on. This allowed introducing of the term program observability (that is, the value of the state variable can be checked). Using the concept of “state” in contrast to the concepts of “events” and “variables”, allows one to understand and to specify the task and its parts (subtasks) more clearly. In automata-based programming, debugging is supported by logging program execution in terms of automata, including events, states and transitions. For this approach there is a formal and isomorphic method of transforming from the transition graph to the software source code. So when using high-level programming languages, the simplest way is to use a construct which is similar to the switch construct of the C programming language. That is why the first implementation of automata-based programming was called “Switch-Technology”. Additional information about automata-based programming can be found in the “Switch-technology” article. Nowadays automata-based programming has been developed in several ways, for different types of task to be solved and for various type of computing devices. Russian registration certificate was issued for the Automata-based programming core and for the Automata-based programming plug-in for Eclipse IDE.

Logical control In 1996 Russian Foundation for Basic Research in the context of publishing project #96-01-14066 had supported publishing of a book, in which the offered technology was described in application to the logical control systems. In such systems there are no events, but input and output actions are binary variables and operating system is working in the scanning mode. Systems of this class are usually to be implemented on programmable logic controllers, which have relatively small amount of memory and programming is to be performed using specialized languages (for example, the language of ladder schemes or functional blocks). Methods of formal source code generation for such languages were developed for the cases in which the specification of the project being developed is represented by a system of transition graphs of interacting automata. In 2005, V. F. Kozachenko described a related method for implementing discrete control automata in embedded control systems and compared it with the automata-based programming approach developed by Shalyto and Tukkel.

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with Automata-based programming (Shalyto's approach)

Start with the simplest possible case. Write down what Automata-based programming (Shalyto's approach) claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In astronomy, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Automata-based programming (Shalyto's approach) before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Automata-based programming (Shalyto's approach) ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Automata-based programming (Shalyto's approach)

In research
Automata-based programming (Shalyto's approach) appears in astronomy research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Automata-based programming (Shalyto's approach) in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Automata-based programming (Shalyto's approach) is common in secondary-school and first-year university syllabi. It links to neighbouring topics ITMO University, Programming paradigms, so understanding it makes those chapters shorter.
In everyday life
Look for Automata-based programming (Shalyto's approach) outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Automata-based programming (Shalyto's approach)” →

How to study Automata-based programming (Shalyto's approach) in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Automata-based programming (Shalyto's approach) means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Automata-based programming (Shalyto's approach) out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Automata-based programming (Shalyto's approach) in simple terms?

Automata-based programming is a programming technology. Its defining characteristic is the use of finite-state machines to describe program behavior.

Why does Automata-based programming (Shalyto's approach) matter?

Because it connects several astronomy ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Automata-based programming (Shalyto's approach)?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Automata-based programming (Shalyto's approach).

Tags

  • ITMO University
  • Programming paradigms

Keep exploring