Grammar systems theory
Grammar systems theory is a field of theoretical computer science which study systems of finite collection of formal grammars generating a formal language. Each grammar works on a string so-called sequential form that represents an environment. Grammar system can thus be used as a formalization of decentralized or distributed systems of agents in AI.[1]
Let to be a simple reactive agent moving on the table and trying not to fall down from the table with two reactions for turning and for moving forward. The set of possible behaviors of can then be described as formal language , where and are dimensions of the table.[2]

Let to be a formal grammar which generates language . The behavior of is then described by this grammar. Suppose the has a subsumption architecture, each component of this architecture can be then represented as a formal grammar too and the final behavior of the agent is then described by this system of grammars.
The schema on right describes such a system of grammars which shares a common string representing an environment. The shared sequential form is sequentially rewrited by each grammar, which can represent either a component or generally an agent.
If grammars communicate together and works on a shared sequential form, it is called Cooperating Distributed (DC) Grammar System. Shared sequential form is a similar concept to the blackboard approach in AI[1], which is inspired by an idea of experts solving some problem together while they share they proposals and ideas on a shared blackboard.
Each grammar in a grammar system can also work on its own string and communicate with other grammars in a system by sending their sequential forms on request. Such a grammar system is then called Parallel Communicating (PC) Grammar System.[1]
PC and DC are inspired by distributed AI. If there is no communication between grammars, the system is close to the decentralized approaches in AI. These kind of grammar systems are sometimes called Colonies or Eco-Grammar systems, depending (besides others) on the fact whether the environment is changing on its own (Eco-Grammar system) or not (Colonies).[1]
References
- ^ a b c d
Csima, Judit (2002). "Investigations on Simple Eco-Grammar Systems" (HTML). Retrieved 2009-02-01.
{{cite journal}}
: Cite journal requires|journal=
(help) - ^ Jirků, Petr; Kelemen, Jozef (1996), Chapters in Cognitive Science (in Czech), University of Economics, Prague, ISBN 80-7079-787-8