Title :
Efficient algorithms for pattern matching on directed acyclic graphs
Author :
Chen, Li ; Gupta, Amarnath ; Kurul, M. Erdem
Author_Institution :
San Diego Supercomput. Center, La Jolla, CA, USA
Abstract :
Recently graph data models have become increasingly popular in many scientific fields. Efficient query processing over such data is critical. Existing works often rely on index structures that store pre-computed transitive relations to achieve efficient graph matching. In this paper, we present a family of stack-based algorithms to handle path and twig pattern queries for directed acyclic graphs (DAGs) in particular. With the worst-case space cost linearly bounded by the number of edges in the graph, our algorithms achieve a quadratic runtime complexity in the average size of the query variable bindings. This is optimal among the navigation-based graph matching algorithms.
Keywords :
computational complexity; data models; database indexing; directed graphs; pattern matching; query processing; directed acyclic graph; graph data model; graph matching; index structure; path handling; pattern matching algorithm; quadratic runtime complexity; query processing; stack-based algorithm; transitive relation; twig pattern query; Anatomy; Data models; Encoding; Instruction sets; Neurons; Ontologies; Pattern matching; Query processing; Supercomputers; Tree graphs;
Conference_Titel :
Data Engineering, 2005. ICDE 2005. Proceedings. 21st International Conference on
Print_ISBN :
0-7695-2285-8
DOI :
10.1109/ICDE.2005.56