The formalism of monadic second-order (MS) logic has been very successful in unifying a large number of algorithms for graphs of bounded treewidth. We extend the elegant framework of MS logic from static problems to dynamic problems, in which queries about MS properties of a graph of bounded treewidth are interspersed with updates of vertex and edge labels. This allows us to unify and occasionally strengthen a number of scattered previous results obtained in an ad hoc manner and to enable solutions to a wide range of additional problems to be derives automatically. As an auxiliary result of independent interest, we dynamize a data structure of Chazelle for answering queries about products of labels along paths in a tree with edges labeled by elements of a semigroup.
机构:
Department of Computer Science, Royal Holloway, University of London, United KingdomDepartment of Computer Science, Royal Holloway, University of London, United Kingdom
Eiben, Eduard
Lokshtanov, Daniel
论文数: 0引用数: 0
h-index: 0
机构:
Department of Computer Science, UC Santa Barbara, United StatesDepartment of Computer Science, Royal Holloway, University of London, United Kingdom
Lokshtanov, Daniel
Mouawad, Amer E.
论文数: 0引用数: 0
h-index: 0
机构:
Department of Computer Science, American University of Beirut, LebanonDepartment of Computer Science, Royal Holloway, University of London, United Kingdom
机构:
Institute of Information and Computing Sciences, Utrecht University, PO Box 80.089, 3508 TB Utrecht, NetherlandsInstitute of Information and Computing Sciences, Utrecht University, PO Box 80.089, 3508 TB Utrecht, Netherlands
Bodlaender, Hans L.
Koster, Arie M.C.A.
论文数: 0引用数: 0
h-index: 0
机构:
Centre for Discrete Mathematics and its Applications (DIMAP), University of Warwick, Coventry CV4 7AL, United KingdomInstitute of Information and Computing Sciences, Utrecht University, PO Box 80.089, 3508 TB Utrecht, Netherlands