LongestCommonSequencePositions

LongestCommonSequencePositions[s1,s2]

找出字符串、列表或生物分子序列 s1s2 中由相邻或是分离的元素组成的最长公共序列,并返回它们的位置.

更多信息和选项

范例

打开所有单元关闭所有单元

基本范例  (3)

给出两个字符串最长的公共不相邻序列:

给出两个列表最长的公共不相邻序列:

求两个生物分子序列共有的最长非连续序列:

范围  (2)

用于两个字符串:

用于两个列表:

选项  (1)

IgnoreCase  (1)

默认情况下,LongestCommonSequencePositions 区分大小写:

不区分大小写:

属性和关系  (1)

取两个字符串:

给出最长公共字符序列的位置:

公共字符串:

LongestCommonSequence 返回连在一起的字符串:

SequenceAlignment 返回公共和非公共部分的一个完整表示:

Wolfram Research (2015),LongestCommonSequencePositions,Wolfram 语言函数,https://reference.wolfram.com/language/ref/LongestCommonSequencePositions.html (更新于 2020 年).

文本

Wolfram Research (2015),LongestCommonSequencePositions,Wolfram 语言函数,https://reference.wolfram.com/language/ref/LongestCommonSequencePositions.html (更新于 2020 年).

CMS

Wolfram 语言. 2015. "LongestCommonSequencePositions." Wolfram 语言与系统参考资料中心. Wolfram Research. 最新版本 2020. https://reference.wolfram.com/language/ref/LongestCommonSequencePositions.html.

APA

Wolfram 语言. (2015). LongestCommonSequencePositions. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/ref/LongestCommonSequencePositions.html 年

BibTeX

@misc{reference.wolfram_2024_longestcommonsequencepositions, author="Wolfram Research", title="{LongestCommonSequencePositions}", year="2020", howpublished="\url{https://reference.wolfram.com/language/ref/LongestCommonSequencePositions.html}", note=[Accessed: 21-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_longestcommonsequencepositions, organization={Wolfram Research}, title={LongestCommonSequencePositions}, year={2020}, url={https://reference.wolfram.com/language/ref/LongestCommonSequencePositions.html}, note=[Accessed: 21-November-2024 ]}