paper

Computing SEQ-IC-LCS of Labeled Graphs

arXiv:2307.07676

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.

Accepted for PSC 2023

Computing SEQ-IC-LCS of Labeled Graphs · wovepaper