求任意两个集合组合的排列的递归算法
A Recursive Algorithmic Approach to the Finding of Permutations for the Combination of Any Two Sets
摘要:
在本文中,我提出了一个猜想的递归算法,找到每个排列组合两组对象(又名洗牌产品)。该算法提供了一种有效的方法来解决这个问题,因为每个原子操作都会产生并集的排列。两个集合的并集的排列被表示为二进制整数,然后通过数学运算来找到下一个排列。找到每个排列所采取的路线然后形成一系列的关联或邻接,这些关联或邻接可以用树形图表示,树形图似乎具有分形的某些性质。该算法是在试图识别Tic-Tac-Toe(Naughts and Crosses)板的每一种可能的结束状态时发现的。它被认为是一个可行的和有效的解决问题的办法,现在-在其更普遍的状态-这是我的信念,它可能会发现在广泛的理论和应用科学的应用。我假设,由于它遍历的树的分形性质,该算法揭示了一个更一般的组合学原理,因此可以进一步推广到可能适用于任何数量的集合的并集。
英文摘要:
In this paper I present a conjecture for a recursive algorithm that finds each permutation of combining two sets of objects (AKA the Shuffle Product). This algorithm provides an efficient way to navigate this problem, as each atomic operation yields a permutation of the union. The permutations of the union of the two sets are represented as binary integers which are then manipulated mathematically to find the next permutation. The routes taken to find each of the permutations then form a series of associations or adjacencies which can be represented in a tree graph which appears to possess some properties of a fractal. This algorithm was discovered while attempting to identify every possible end-state of a Tic-Tac-Toe (Naughts and Crosses) board. It was found to be a viable and efficient solution to the problem, and now---in its more generalized state---it is my belief that it may find applications among a wide range of theoretical and applied sciences. I hypothesize that, due to the fractal-like nature of the tree it traverses, this algorithm sheds light on a more generic principle of combinatorics and as such could be further generalized to perhaps be applied to the union of any number of sets.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。