Computing SEQ-IC-LCS of Labeled Graphs
Abstract
We consider labeled directed graphs where each vertex is labeled with a non-empty string. Such labeled graphs are also known as non-linear texts in the literature. In this paper, we introduce a new problem of comparing two given labeled graphs, called the SEQ-IC-LCS problem on labeled graphs. The goal of SEQ-IC-LCS is to compute the the length of the longest common subsequence (LCS) of two target labeled graphs and that includes some string in the constraint labeled graph as its subsequence. Firstly, we consider the case where , and are all acyclic, and present algorithms for computing their SEQ-IC-LCS in time and space. Secondly, we consider the case where and can be cyclic and is acyclic, and present algorithms for computing their SEQ-IC-LCS in time and space, where is the alphabet.
Keywords
Cite
@article{arxiv.2307.07676,
title = {Computing SEQ-IC-LCS of Labeled Graphs},
author = {Yuki Yonemoto and Yuto Nakashima and Shunsuke Inenaga},
journal= {arXiv preprint arXiv:2307.07676},
year = {2023}
}
Comments
Accepted for PSC 2023