摘要 |
<P>PROBLEM TO BE SOLVED: To provide a method and system for reordering BDD variables using parallel permutation. <P>SOLUTION: In one embodiment, a calculation device accesses a binary decision diagram (BDD) representing a function having n variables, where n≥2. The BDD comprises n layers corresponding to the n variables, respectively, and has a first variable order where each variable i is at layer i for 1≤i≤n. The calculation device reorders the n variables of the BDD according to a second variable order denoted by π(i), by iteratively and alternatingly swapping one or more first disjoint pairs of consecutive layers during each odd iteration and swapping one or more second disjoint pairs of consecutive layers during each even iteration, until the second variable order is achieved. During each iteration, two consecutive layers are swapped only if a current order of two variables at the two consecutive layers differs from an order of the two variables specified by the second variable order. <P>COPYRIGHT: (C)2012,JPO&INPIT |