Abstrakt: |
Based on the study of enumeration algorithm, the paper proposes the multi-parameter setting method in enumeration algorithm parameter values to achieve operation independence of parameters. That is: in order to achieve the independence of variable values, and in order to facilitate program design, if there were m variables in enumeration algorithm and each variable may have n states, the value of the n states could be set at a geometric sequence, the ratio of which is not less than m+1. Generally choose to use 1, m +1, (m +1) 2... (m +1) n-1 of the geometric progression. [ABSTRACT FROM PUBLISHER] |