首页> 外文期刊>Information Processing Letters >A fast and practical bit-vector algoithm for the Longest Common Subsequence problem
【24h】

A fast and practical bit-vector algoithm for the Longest Common Subsequence problem

机译:最长公共子序列问题的快速实用的位向量算法

获取原文
获取原文并翻译 | 示例
       

摘要

This paper presents a new practical bit-vector algorithm for solving the well-known Longest Common Subsequence (LCS) problem. Given two strings of length m and n, n≥m, we present an algorithm which determines the length of an LCS in O(nm/w) time an O(m/w) space, where w is the number of bits in a machine word. This algorithm can be thought of as column-wise "parallelization" of the classical dynamic programming approach. Our algorithm is very efficient in practice, where computing the length of an LCS of two strings can be done in linear time and constant (additional/working) space by assuming that m≤w.
机译:本文提出了一种新的实用位向量算法,用于解决众所周知的最长公共子序列(LCS)问题。给定两个长度为m和n,n≥m的字符串,我们提出一种算法,该算法确定LCS在O(nm / w)时间与O(m / w)空间之间的长度,其中w是a中的位数机器字。可以将该算法视为经典动态规划方法的按列“并行化”。我们的算法在实践中非常有效,通过假设m≤w,可以在线性时间和恒定(附加/工作)空间中计算两个字符串的LCS的长度。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号