Article ID | Journal | Published Year | Pages | File Type |
---|---|---|---|---|
438046 | Theoretical Computer Science | 2009 | 8 Pages |
Abstract
Let G be a directed acyclic graph, each vertex of which is labeled with a symbol, and having, for any such symbol, a path in which all of the vertices labeled with the symbol appear with vertices labeled with other symbols. Let B be a sequence of symbols. This article proposes a polynomial-time algorithm for computing one of the longest possible common subsequences of a sequence specified by any topological sort of G and the sequence B.
Related Topics
Physical Sciences and Engineering
Computer Science
Computational Theory and Mathematics