Linear delay enumeration and monadic second-order logic
The results of a query expressed by a monadic second-order formula on a tree, on a graph or on a relational structure of tree-width at most k , can be enumerated with a delay between two outputs proportional to the size of the next output. This is possible by using a preprocessing that takes time O...
Gespeichert in:
Veröffentlicht in: | Discrete Applied Mathematics 2009-06, Vol.157 (12), p.2675-2700 |
---|---|
1. Verfasser: | |
Format: | Artikel |
Sprache: | eng |
Schlagworte: | |
Online-Zugang: | Volltext |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The results of a query expressed by a monadic second-order formula on a tree, on a graph or on a relational structure of tree-width at most
k
, can be enumerated with a delay between two outputs proportional to the size of the next output. This is possible by using a preprocessing that takes time
O
(
n
⋅
log
(
n
)
)
, where
n
is the number of vertices or elements. One can also output directly the
i
-th element with respect to a fixed ordering, however, in more than linear time in its size. These results extend to graphs of bounded clique-width. We also consider the enumeration of finite parts of recognizable sets of terms specified by parameters such as size, height or Strahler number. |
---|---|
ISSN: | 0166-218X 1872-6771 |
DOI: | 10.1016/j.dam.2008.08.021 |