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

查找带括号和不带括号的算术表达式的计算复杂性

The Computational Complexity of Finding Arithmetic Expressions With and Without Parentheses

Jayson Lynch, Yan, Weng

摘要:

我们证明了关于算术表达式树存在性的各种问题的NP-完全性。当给定一组操作、输入和目标值时,是否存在一个包含这些输入和操作的表达式树,该表达式树的计算结果为目标?我们考虑树的结构也给出的变化和不允许在表达式中的括号的变化。

英文摘要:

We show NP-completeness for various problems about the existence of arithmetic expression trees. When given a set of operations, inputs, and a target value does there exist an expression tree with those inputs and operations that evaluates to the target? We consider the variations where the structure of the tree is also given and the variation where no parentheses are allowed in the expression.

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

↑