arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2409.11076cs.DS
收藏

子集和分布的选择性算法处理

Selective algorithm processing of subset sum distributions

Nick Dawes

AI总结:

针对精确子集和问题算法的效率优化需求,研究提出将和映射到kn个箱并为各箱选最优算法的系统,结合模运算与动态划分处理低效场景,k=2时达O(max(T,n²))时间与O(max(T,n))空间复杂度。

摘要:

计算单个子集和的精确子集和问题算法的效率定义为$e=min(T/z, 1)$,其中$z$为计算得到的子集和数量,$e$与这类算法的计算复杂度相关。该系统将和映射到$kn$个箱中,为每个输入值的每个箱选择最高效的算法,涉及加法、减法及重复值动态规划算法。对于原本处理效率低的情况(如全为偶数的数值),通过模运算和动态划分输入值来处理。经实验验证,当$k=2$时,该系统的效率对应时间复杂度O(max($T$, $n^2$)),空间复杂度O(max($T$, $n$))。

英文摘要:

The efficiency of exact subset sum problem algorithms which compute individual subset sums is defined as $e=min(T/z, 1)$, where $z$ is the number of subset sums computed. $e$ is related to these algorithms' computational complexity. This system maps the sums into $kn$ bins to select its most efficient algorithm for each bin for each input value. These algorithms include additive, subtractive and repeated value dynamic programming. Cases which would otherwise be processed inefficiently (eg: all even values) are handled by modular arithmetic and by dynamically partioning the input values. The system's experimentally validated efficiency corresponds to O(max($T$, $n^2$)) with space complexity O(max($T$, $n$)), for $k=2$.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑