最长波浪后继问题:最长递增后继问题的一般化

IF 0.6 4区 计算机科学 Q4 COMPUTER SCIENCE, THEORY & METHODS International Journal of Foundations of Computer Science Pub Date : 2024-07-12 DOI:10.1142/s012905412450014x
Guan-Zhi Chen, Chang-Biau Yang, Yu-Cheng Chang
{"title":"最长波浪后继问题:最长递增后继问题的一般化","authors":"Guan-Zhi Chen, Chang-Biau Yang, Yu-Cheng Chang","doi":"10.1142/s012905412450014x","DOIUrl":null,"url":null,"abstract":"The longest increasing subsequence (LIS) problem aims to find the subsequence exhibiting an increasing trend in a numeric sequence with the maximum length. In this paper, we generalize the LIS problem to the longest wave subsequence (LWS) problem, which encompasses two versions: LWSt and LWSr. Given a numeric sequence [Formula: see text] of distinct values and a target trend sequence [Formula: see text], the LWSt problem aims to identify the longest subsequence of [Formula: see text] that preserves the trend of the prefix of [Formula: see text]. And, the LWSr problem aims to find the longest subsequence of [Formula: see text] within [Formula: see text] segments, alternating increasing and decreasing subsequences. We propose two efficient algorithms for solving the two versions of the LWS problem. For the LWSt problem, the time complexity of our algorithm is O[Formula: see text], where [Formula: see text] represents the length of the given numeric sequence [Formula: see text]. Additionally, we propose an O[Formula: see text]-time algorithm for solving the LWSr problem. In both algorithms, we utilize the priority queues for the insertion, deletion, and successor operations.","PeriodicalId":50323,"journal":{"name":"International Journal of Foundations of Computer Science","volume":null,"pages":null},"PeriodicalIF":0.6000,"publicationDate":"2024-07-12","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"2","resultStr":"{\"title\":\"The Longest Wave Subsequence Problem: Generalizations of the Longest Increasing Subsequence Problem\",\"authors\":\"Guan-Zhi Chen, Chang-Biau Yang, Yu-Cheng Chang\",\"doi\":\"10.1142/s012905412450014x\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"The longest increasing subsequence (LIS) problem aims to find the subsequence exhibiting an increasing trend in a numeric sequence with the maximum length. In this paper, we generalize the LIS problem to the longest wave subsequence (LWS) problem, which encompasses two versions: LWSt and LWSr. Given a numeric sequence [Formula: see text] of distinct values and a target trend sequence [Formula: see text], the LWSt problem aims to identify the longest subsequence of [Formula: see text] that preserves the trend of the prefix of [Formula: see text]. And, the LWSr problem aims to find the longest subsequence of [Formula: see text] within [Formula: see text] segments, alternating increasing and decreasing subsequences. We propose two efficient algorithms for solving the two versions of the LWS problem. For the LWSt problem, the time complexity of our algorithm is O[Formula: see text], where [Formula: see text] represents the length of the given numeric sequence [Formula: see text]. Additionally, we propose an O[Formula: see text]-time algorithm for solving the LWSr problem. In both algorithms, we utilize the priority queues for the insertion, deletion, and successor operations.\",\"PeriodicalId\":50323,\"journal\":{\"name\":\"International Journal of Foundations of Computer Science\",\"volume\":null,\"pages\":null},\"PeriodicalIF\":0.6000,\"publicationDate\":\"2024-07-12\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"2\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"International Journal of Foundations of Computer Science\",\"FirstCategoryId\":\"94\",\"ListUrlMain\":\"https://doi.org/10.1142/s012905412450014x\",\"RegionNum\":4,\"RegionCategory\":\"计算机科学\",\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q4\",\"JCRName\":\"COMPUTER SCIENCE, THEORY & METHODS\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"International Journal of Foundations of Computer Science","FirstCategoryId":"94","ListUrlMain":"https://doi.org/10.1142/s012905412450014x","RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q4","JCRName":"COMPUTER SCIENCE, THEORY & METHODS","Score":null,"Total":0}
引用次数: 2

摘要

最长递增子序列(LIS)问题旨在找出数字序列中长度最大且呈现递增趋势的子序列。在本文中,我们将 LIS 问题推广为最长波浪子序列(LWS)问题,它包括两个版本:LWSt 和 LWSr:给定一个由不同数值组成的数字序列[公式:见正文]和一个目标趋势序列[公式:见正文],LWSt 问题旨在找出[公式:见正文]中保持[公式:见正文]前缀趋势的最长子序列。而 LWSr 问题旨在找出[公式:见正文]段内[公式:见正文]的最长子序列,交替使用递增和递减子序列。我们提出了两种高效算法来解决这两个版本的 LWS 问题。对于 LWSt 问题,我们算法的时间复杂度为 O[公式:见正文],其中[公式:见正文]表示给定数字序列[公式:见正文]的长度。此外,我们还提出了解决 LWSr 问题的 O[式:见正文]时间算法。在这两种算法中,我们利用优先队列进行插入、删除和继承操作。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
The Longest Wave Subsequence Problem: Generalizations of the Longest Increasing Subsequence Problem
The longest increasing subsequence (LIS) problem aims to find the subsequence exhibiting an increasing trend in a numeric sequence with the maximum length. In this paper, we generalize the LIS problem to the longest wave subsequence (LWS) problem, which encompasses two versions: LWSt and LWSr. Given a numeric sequence [Formula: see text] of distinct values and a target trend sequence [Formula: see text], the LWSt problem aims to identify the longest subsequence of [Formula: see text] that preserves the trend of the prefix of [Formula: see text]. And, the LWSr problem aims to find the longest subsequence of [Formula: see text] within [Formula: see text] segments, alternating increasing and decreasing subsequences. We propose two efficient algorithms for solving the two versions of the LWS problem. For the LWSt problem, the time complexity of our algorithm is O[Formula: see text], where [Formula: see text] represents the length of the given numeric sequence [Formula: see text]. Additionally, we propose an O[Formula: see text]-time algorithm for solving the LWSr problem. In both algorithms, we utilize the priority queues for the insertion, deletion, and successor operations.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
International Journal of Foundations of Computer Science
International Journal of Foundations of Computer Science 工程技术-计算机:理论方法
CiteScore
1.60
自引率
12.50%
发文量
63
审稿时长
3 months
期刊介绍: The International Journal of Foundations of Computer Science is a bimonthly journal that publishes articles which contribute new theoretical results in all areas of the foundations of computer science. The theoretical and mathematical aspects covered include: - Algebraic theory of computing and formal systems - Algorithm and system implementation issues - Approximation, probabilistic, and randomized algorithms - Automata and formal languages - Automated deduction - Combinatorics and graph theory - Complexity theory - Computational biology and bioinformatics - Cryptography - Database theory - Data structures - Design and analysis of algorithms - DNA computing - Foundations of computer security - Foundations of high-performance computing
期刊最新文献
The 4-Set Tree Connectivity of Folded Hypercube An Efficient Algorithm to Compute Dot Product Dimension of Some Outerplanar Graphs The Longest Wave Subsequence Problem: Generalizations of the Longest Increasing Subsequence Problem State Complexity of Boolean Operations on Graph-Walking Automata Deterministic One-Way Simulation of Two-Way Deterministic Finite Automata Over Small Alphabets
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1