Topological Sorting with Regular Constraints
Document type :
Communication dans un congrès avec actes
Title :
Topological Sorting with Regular Constraints
Author(s) :
Amarilli, Antoine [Auteur]
Data, Intelligence and Graphs [DIG]
Département Informatique et Réseaux [INFRES]
Paperman, Charles [Auteur]
Linking Dynamic Data [LINKS]
Centre de Recherche en Informatique, Signal et Automatique de Lille - UMR 9189 [CRIStAL]
Data, Intelligence and Graphs [DIG]
Département Informatique et Réseaux [INFRES]
Paperman, Charles [Auteur]
Linking Dynamic Data [LINKS]
Centre de Recherche en Informatique, Signal et Automatique de Lille - UMR 9189 [CRIStAL]
Conference title :
ICALP 2018 - 45th International Colloquium on Automata, Languages, and Programming
City :
Prague
Country :
République tchèque
Start date of the conference :
2018-07-09
Journal title :
45th International Colloquium on Automata, Languages, and Programming, ICALP 2018
Publication date :
2018-07-13
English keyword(s) :
Topological sort
shuffle problem
regular language
shuffle problem
regular language
HAL domain(s) :
Informatique [cs]/Algorithme et structure de données [cs.DS]
Informatique [cs]/Complexité [cs.CC]
Informatique [cs]/Mathématique discrète [cs.DM]
Informatique [cs]/Complexité [cs.CC]
Informatique [cs]/Mathématique discrète [cs.DM]
English abstract : [en]
We introduce the constrained topological sorting problem (CTS): given a regular language K and a directed acyclic graph G with labeled vertices, determine if G has a topological sort that forms a word in K. This natural ...
Show more >We introduce the constrained topological sorting problem (CTS): given a regular language K and a directed acyclic graph G with labeled vertices, determine if G has a topological sort that forms a word in K. This natural problem applies to several settings, e.g., scheduling with costs or verifying concurrent programs. We consider the problem CTS[K] where the target language K is fixed, and study its complexity depending on K. We show that CTS[K] is tractable when K falls in several language families, e.g., unions of monomials, which can be used for pattern matching. However, we show that CTS[K] is NP-hard for K = (ab) * and introduce a shuffle reduction technique to show hardness for more languages. We also study the special case of the constrained shuffle problem (CSh), where the input graph is a disjoint union of strings, and show that CSh[K] is additionally tractable when K is a group language or a union of district group monomials. We conjecture that a dichotomy should hold on the complexity of CTS[K] or CSh[K] depending on K, and substantiate this by proving a coarser dichotomy under a different problem phrasing which ensures that tractable languages are closed under common operators.Show less >
Show more >We introduce the constrained topological sorting problem (CTS): given a regular language K and a directed acyclic graph G with labeled vertices, determine if G has a topological sort that forms a word in K. This natural problem applies to several settings, e.g., scheduling with costs or verifying concurrent programs. We consider the problem CTS[K] where the target language K is fixed, and study its complexity depending on K. We show that CTS[K] is tractable when K falls in several language families, e.g., unions of monomials, which can be used for pattern matching. However, we show that CTS[K] is NP-hard for K = (ab) * and introduce a shuffle reduction technique to show hardness for more languages. We also study the special case of the constrained shuffle problem (CSh), where the input graph is a disjoint union of strings, and show that CSh[K] is additionally tractable when K is a group language or a union of district group monomials. We conjecture that a dichotomy should hold on the complexity of CTS[K] or CSh[K] depending on K, and substantiate this by proving a coarser dichotomy under a different problem phrasing which ensures that tractable languages are closed under common operators.Show less >
Language :
Anglais
Peer reviewed article :
Oui
Audience :
Internationale
Popular science :
Non
Collections :
Source :
Files
- https://hal.archives-ouvertes.fr/hal-01950909/document
- Open access
- Access the document
- https://hal.archives-ouvertes.fr/hal-01950909/document
- Open access
- Access the document
- https://hal.archives-ouvertes.fr/hal-01950909/document
- Open access
- Access the document
- document
- Open access
- Access the document
- 1707.04310.pdf
- Open access
- Access the document
- document
- Open access
- Access the document
- 1707.04310.pdf
- Open access
- Access the document