Abstract

In this paper, we consider the graph G(L|w), resp. the directed graph G→(L|w), associated with an arbitrary language L⊆Σ⁎ and an arbitrary string w∈Σ⁎. The clique number of L is then defined as the supremum of the clique numbers of the graphs G(L|w) where w ranges over all strings in Σ⁎. The maximum in- or outdegree of L is defined analogously. We characterize regular languages with an infinite clique number and determine tight upper bounds in the finite case. We obtain analogous results for the maximum indegree and the maximum outdegree of a regular language. As an application, we consider the problem of determining the maximum activity level of a prefix-closed regular language — a parameter that is related to the computational complexity of parsing techniques utilizing unbounded regular lookahead. Finally, we determine the computational complexity of various problems arising from our graph-theoretic approach.

Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call