Abstract
AbstractTraditionally, graph algorithms get a single graph as input, and then they should decide if this graph satisfies a certain property $$\varPhi $$
Φ
. What happens if this question is modified in a way that we get a possibly infinite family of graphs as an input, and the question is if there is a graph satisfying $$\varPhi $$
Φ
in the family? We approach this question by using formal languages for specifying families of graphs, in particular by regular sets of words. We show that certain graph properties can be decided by studying the syntactic monoid of the specification language L if a certain torsion condition is satisfied. This condition holds trivially if L is regular. More specifically, we use a natural binary encoding of finite graphs over a binary alphabet $$\varSigma $$
Σ
, and we define a regular set $$\mathbb {G}\subseteq \varSigma ^*$$
G
⊆
Σ
∗
such that every nonempty word $$w\in \mathbb {G}$$
w
∈
G
defines a finite and nonempty graph. Also, graph properties can then be syntactically defined as languages over $$\varSigma $$
Σ
. Then, we ask whether the automaton $$\mathcal {A}$$
A
specifies some graph satisfying a certain property $$\varPhi $$
Φ
. Our structural results show that we can answer this question for all “typical” graph properties. In order to show our results, we split L into a finite union of subsets and every subset of this union defines in a natural way a single finite graph F where some edges and vertices are marked. The marked graph in turn defines an infinite graph $$F^\infty $$
F
∞
and therefore the family of finite subgraphs of $$F^\infty $$
F
∞
where F appears as an induced subgraph. This yields a geometric description of all graphs specified by L based on splitting L into finitely many pieces; then using the notion of graph retraction, we obtain an easily understandable description of the graphs in each piece.
Funder
Deutsche Forschungsgemeinschaft
Publisher
Springer Science and Business Media LLC
Subject
Computer Networks and Communications,Information Systems,Software
Reference31 articles.
1. Anderson, T., Loftus, J., Rampersad, N., Santean, N., Shallit, J.: Detecting palindromes, patterns and borders in regular languages. Inf. Comput. 207, 1096–1118 (2009)
2. Anisimov, A.V.: Group languages. Kibernetika 4, 18–24 (1971). English translation in Cybernetics and Systems Analysis 4, 594–601 (1973)
3. Bera, S., Mahalingam, K.: Structural properties of word representable graphs. Math. Comput. Sci. 10, 209–222 (2016)
4. Bertelè, U., Brioschi, F.: Nonserial Dynamic Programming, vol. 91 of Mathematics in Science and Engineering. Academic Press, New York and London (1972)
5. Courcelle, B.: The expression of graph properties and graph transformations in Monadic Second-Order Logic. In: Rozenberg, G. (ed.) Handbook of Graph Grammars and Computing by Graph Transformations, vol. 1: Foundations, pp. 313–400. World Scientific (1997)