abc-master
|
#include "fxuInt.h"
Go to the source code of this file.
Macros | |
#define | FXU_HEAP_DOUBLE_WEIGHT(pDiv) ((pDiv)->Weight) |
DECLARATIONS ///. More... | |
#define | FXU_HEAP_DOUBLE_CURRENT(p, pDiv) ((p)->pTree[(pDiv)->HNum]) |
#define | FXU_HEAP_DOUBLE_PARENT_EXISTS(p, pDiv) ((pDiv)->HNum > 1) |
#define | FXU_HEAP_DOUBLE_CHILD1_EXISTS(p, pDiv) (((pDiv)->HNum << 1) <= p->nItems) |
#define | FXU_HEAP_DOUBLE_CHILD2_EXISTS(p, pDiv) ((((pDiv)->HNum << 1)+1) <= p->nItems) |
#define | FXU_HEAP_DOUBLE_PARENT(p, pDiv) ((p)->pTree[(pDiv)->HNum >> 1]) |
#define | FXU_HEAP_DOUBLE_CHILD1(p, pDiv) ((p)->pTree[(pDiv)->HNum << 1]) |
#define | FXU_HEAP_DOUBLE_CHILD2(p, pDiv) ((p)->pTree[((pDiv)->HNum << 1)+1]) |
#define | FXU_HEAP_DOUBLE_ASSERT(p, pDiv) assert( (pDiv)->HNum >= 1 && (pDiv)->HNum <= p->nItemsAlloc ) |
Functions | |
static void | Fxu_HeapDoubleResize (Fxu_HeapDouble *p) |
static void | Fxu_HeapDoubleSwap (Fxu_Double **pDiv1, Fxu_Double **pDiv2) |
static void | Fxu_HeapDoubleMoveUp (Fxu_HeapDouble *p, Fxu_Double *pDiv) |
static void | Fxu_HeapDoubleMoveDn (Fxu_HeapDouble *p, Fxu_Double *pDiv) |
Fxu_HeapDouble * | Fxu_HeapDoubleStart () |
FUNCTION DEFINITIONS ///. More... | |
void | Fxu_HeapDoubleStop (Fxu_HeapDouble *p) |
void | Fxu_HeapDoublePrint (FILE *pFile, Fxu_HeapDouble *p) |
void | Fxu_HeapDoubleCheck (Fxu_HeapDouble *p) |
void | Fxu_HeapDoubleCheckOne (Fxu_HeapDouble *p, Fxu_Double *pDiv) |
void | Fxu_HeapDoubleInsert (Fxu_HeapDouble *p, Fxu_Double *pDiv) |
void | Fxu_HeapDoubleUpdate (Fxu_HeapDouble *p, Fxu_Double *pDiv) |
void | Fxu_HeapDoubleDelete (Fxu_HeapDouble *p, Fxu_Double *pDiv) |
Fxu_Double * | Fxu_HeapDoubleReadMax (Fxu_HeapDouble *p) |
Fxu_Double * | Fxu_HeapDoubleGetMax (Fxu_HeapDouble *p) |
int | Fxu_HeapDoubleReadMaxWeight (Fxu_HeapDouble *p) |
#define FXU_HEAP_DOUBLE_ASSERT | ( | p, | |
pDiv | |||
) | assert( (pDiv)->HNum >= 1 && (pDiv)->HNum <= p->nItemsAlloc ) |
Definition at line 36 of file fxuHeapD.c.
Definition at line 34 of file fxuHeapD.c.
Definition at line 31 of file fxuHeapD.c.
Definition at line 35 of file fxuHeapD.c.
Definition at line 32 of file fxuHeapD.c.
Definition at line 29 of file fxuHeapD.c.
Definition at line 33 of file fxuHeapD.c.
#define FXU_HEAP_DOUBLE_PARENT_EXISTS | ( | p, | |
pDiv | |||
) | ((pDiv)->HNum > 1) |
Definition at line 30 of file fxuHeapD.c.
#define FXU_HEAP_DOUBLE_WEIGHT | ( | pDiv | ) | ((pDiv)->Weight) |
DECLARATIONS ///.
CFile****************************************************************
FileName [fxuHeapD.c]
PackageName [MVSIS 2.0: Multi-valued logic synthesis system.]
Synopsis [The priority queue for double cube divisors.]
Author [MVSIS Group]
Affiliation [UC Berkeley]
Date [Ver. 1.0. Started - February 1, 2003.]
Revision [
]
Definition at line 28 of file fxuHeapD.c.
void Fxu_HeapDoubleCheck | ( | Fxu_HeapDouble * | p | ) |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 152 of file fxuHeapD.c.
void Fxu_HeapDoubleCheckOne | ( | Fxu_HeapDouble * | p, |
Fxu_Double * | pDiv | ||
) |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 173 of file fxuHeapD.c.
void Fxu_HeapDoubleDelete | ( | Fxu_HeapDouble * | p, |
Fxu_Double * | pDiv | ||
) |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 250 of file fxuHeapD.c.
Fxu_Double* Fxu_HeapDoubleGetMax | ( | Fxu_HeapDouble * | p | ) |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 291 of file fxuHeapD.c.
void Fxu_HeapDoubleInsert | ( | Fxu_HeapDouble * | p, |
Fxu_Double * | pDiv | ||
) |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 201 of file fxuHeapD.c.
|
static |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 391 of file fxuHeapD.c.
|
static |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 363 of file fxuHeapD.c.
void Fxu_HeapDoublePrint | ( | FILE * | pFile, |
Fxu_HeapDouble * | p | ||
) |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 117 of file fxuHeapD.c.
Fxu_Double* Fxu_HeapDoubleReadMax | ( | Fxu_HeapDouble * | p | ) |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 273 of file fxuHeapD.c.
int Fxu_HeapDoubleReadMaxWeight | ( | Fxu_HeapDouble * | p | ) |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 319 of file fxuHeapD.c.
|
static |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 82 of file fxuHeapD.c.
Fxu_HeapDouble* Fxu_HeapDoubleStart | ( | ) |
FUNCTION DEFINITIONS ///.
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 58 of file fxuHeapD.c.
void Fxu_HeapDoubleStop | ( | Fxu_HeapDouble * | p | ) |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 99 of file fxuHeapD.c.
|
static |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 340 of file fxuHeapD.c.
void Fxu_HeapDoubleUpdate | ( | Fxu_HeapDouble * | p, |
Fxu_Double * | pDiv | ||
) |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 223 of file fxuHeapD.c.