Modification of the method for developing combinatorial generation algorithms based on the use of multivariate generating functions and approximations
Модификация метода построения алгоритмов комбинаторной генерации на основе применения производящих функций многих переменных и приближенных вычислений

D. V. Kruchinin, Tomsk State University of Control Systems and Radioelectronics (TUSUR)
2022 Proceedings of Tomsk State University of Control Systems and Radioelectronics  
This article proposes a modified method for developing combinatorial generation algorithms based on AND/OR trees. The proposed method differs from the original method and its modifications by using the method of obtaining explicit expressions for the coefficients of multivariate generating functions to find the expression for the cardinality function of a given combinatorial set (including combinatorial sets defined by several parameters). Also, the proposed method is distinguished by the use
more » ... approximation methods and the binary search to find the selected son of the OR node. This reduces the computational complexity of the unranking algorithms. In order to test the proposed method, a new ranking and unranking algorithms were developed for a combinatorial set of selfavoiding lattice paths. In this case, the use of binary search reduced on average the number of required computational operations and a better computational complexity compared to the original version of the algorithm were obtained.
doi:10.21293/1818-0442-2021-25-1-55-60 fatcat:cniku2ab75abhfzngbqlhm6774