abc-master
|
Go to the source code of this file.
Macros | |
#define | ABC 1 |
#define | BAC 2 |
#define | BCA 3 |
#define | CBA 4 |
#define | CAB 5 |
#define | ACB 6 |
#define | ABCD 1 |
#define | BACD 7 |
#define | BADC 13 |
#define | ABDC 8 |
#define | ADBC 14 |
#define | ADCB 9 |
#define | DACB 15 |
#define | DABC 20 |
#define | DBAC 23 |
#define | BDAC 19 |
#define | BDCA 21 |
#define | DBCA 24 |
#define | DCBA 22 |
#define | DCAB 18 |
#define | CDAB 12 |
#define | CDBA 17 |
#define | CBDA 11 |
#define | BCDA 16 |
#define | BCAD 10 |
#define | CBAD 5 |
#define | CABD 3 |
#define | CADB 6 |
#define | ACDB 4 |
#define | ACBD 2 |
Functions | |
static int | ddWindow2 (DdManager *table, int low, int high) |
static int | ddWindowConv2 (DdManager *table, int low, int high) |
static int | ddPermuteWindow3 (DdManager *table, int x) |
static int | ddWindow3 (DdManager *table, int low, int high) |
static int | ddWindowConv3 (DdManager *table, int low, int high) |
static int | ddPermuteWindow4 (DdManager *table, int w) |
static int | ddWindow4 (DdManager *table, int low, int high) |
static int | ddWindowConv4 (DdManager *table, int low, int high) |
int | cuddWindowReorder (DdManager *table, int low, int high, Cudd_ReorderingType submethod) |
Variables | |
static ABC_NAMESPACE_IMPL_START char rcsid[] | DD_UNUSED = "$Id: cuddWindow.c,v 1.14 2009/02/20 02:14:58 fabio Exp $" |
#define ABC 1 |
#define ABCD 1 |
#define ABDC 8 |
#define ACB 6 |
#define ACBD 2 |
#define ACDB 4 |
#define ADBC 14 |
#define ADCB 9 |
#define BAC 2 |
#define BACD 7 |
#define BADC 13 |
#define BCA 3 |
#define BCAD 10 |
#define BCDA 16 |
#define BDAC 19 |
#define BDCA 21 |
#define CAB 5 |
#define CABD 3 |
#define CADB 6 |
#define CBA 4 |
#define CBAD 5 |
#define CBDA 11 |
#define CDAB 12 |
#define CDBA 17 |
#define DABC 20 |
#define DACB 15 |
#define DBAC 23 |
#define DBCA 24 |
#define DCAB 18 |
#define DCBA 22 |
int cuddWindowReorder | ( | DdManager * | table, |
int | low, | ||
int | high, | ||
Cudd_ReorderingType | submethod | ||
) |
AutomaticEnd Function********************************************************************
Synopsis [Reorders by applying the method of the sliding window.]
Description [Reorders by applying the method of the sliding window. Tries all possible permutations to the variables in a window that slides from low to high. The size of the window is determined by submethod. Assumes that no dead nodes are present. Returns 1 in case of success; 0 otherwise.]
SideEffects [None]
Definition at line 142 of file cuddWindow.c.
|
static |
Function********************************************************************
Synopsis [Tries all the permutations of the three variables between x and x+2 and retains the best.]
Description [Tries all the permutations of the three variables between x and x+2 and retains the best. Assumes that no dead nodes are present. Returns the index of the best permutation (1-6) in case of success; 0 otherwise.Assumes that no dead nodes are present. Returns the index of the best permutation (1-6) in case of success; 0 otherwise.]
SideEffects [None]
Definition at line 361 of file cuddWindow.c.
|
static |
Function********************************************************************
Synopsis [Tries all the permutations of the four variables between w and w+3 and retains the best.]
Description [Tries all the permutations of the four variables between w and w+3 and retains the best. Assumes that no dead nodes are present. Returns the index of the best permutation (1-24) in case of success; 0 otherwise.]
SideEffects [None]
Definition at line 601 of file cuddWindow.c.
|
static |
AutomaticStart
Function********************************************************************
Synopsis [Reorders by applying a sliding window of width 2.]
Description [Reorders by applying a sliding window of width 2. Tries both permutations of the variables in a window that slides from low to high. Assumes that no dead nodes are present. Returns 1 in case of success; 0 otherwise.]
SideEffects [None]
Definition at line 214 of file cuddWindow.c.
|
static |
Function********************************************************************
Synopsis [Reorders by applying a sliding window of width 3.]
Description [Reorders by applying a sliding window of width 3. Tries all possible permutations to the variables in a window that slides from low to high. Assumes that no dead nodes are present. Returns 1 in case of success; 0 otherwise.]
SideEffects [None]
Definition at line 456 of file cuddWindow.c.
|
static |
Function********************************************************************
Synopsis [Reorders by applying a sliding window of width 4.]
Description [Reorders by applying a sliding window of width 4. Tries all possible permutations to the variables in a window that slides from low to high. Assumes that no dead nodes are present. Returns 1 in case of success; 0 otherwise.]
SideEffects [None]
Definition at line 857 of file cuddWindow.c.
|
static |
Function********************************************************************
Synopsis [Reorders by repeatedly applying a sliding window of width 2.]
Description [Reorders by repeatedly applying a sliding window of width
SideEffects [None]
Definition at line 268 of file cuddWindow.c.
|
static |
Function********************************************************************
Synopsis [Reorders by repeatedly applying a sliding window of width 3.]
Description [Reorders by repeatedly applying a sliding window of width
SideEffects [None]
Definition at line 503 of file cuddWindow.c.
|
static |
Function********************************************************************
Synopsis [Reorders by repeatedly applying a sliding window of width 4.]
Description [Reorders by repeatedly applying a sliding window of width
SideEffects [None]
Definition at line 904 of file cuddWindow.c.
|
static |
CFile***********************************************************************
FileName [cuddWindow.c]
PackageName [cudd]
Synopsis [Functions for variable reordering by window permutation.]
Description [Internal procedures included in this module:
Static procedures included in this module:
]
Author [Fabio Somenzi]
Copyright [Copyright (c) 1995-2004, Regents of the University of Colorado
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
Neither the name of the University of Colorado nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.]
Definition at line 88 of file cuddWindow.c.