abc-master
|
#include "fraigInt.h"
Go to the source code of this file.
ABC_NAMESPACE_IMPL_START Fraig_NodeVec_t* Fraig_NodeVecAlloc | ( | int | nCap | ) |
DECLARATIONS ///.
CFile****************************************************************
FileName [fraigVec.c]
PackageName [FRAIG: Functionally reduced AND-INV graphs.]
Synopsis [Vector of FRAIG nodes.]
Author [Alan Mishchenko alanm] i@ee cs.be rkel ey.ed u
Affiliation [UC Berkeley]
Date [Ver. 2.0. Started - October 1, 2004]
Revision [
]FUNCTION DEFINITIONS /// Function*************************************************************
Synopsis [Allocates a vector with the given capacity.]
Description []
SideEffects []
SeeAlso []
Definition at line 43 of file fraigVec.c.
void Fraig_NodeVecClear | ( | Fraig_NodeVec_t * | p | ) |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 173 of file fraigVec.c.
int Fraig_NodeVecCompareLevelsDecreasing | ( | Fraig_Node_t ** | pp1, |
Fraig_Node_t ** | pp2 | ||
) |
Function*************************************************************
Synopsis [Comparison procedure for two clauses.]
Description []
SideEffects []
SeeAlso []
Definition at line 426 of file fraigVec.c.
int Fraig_NodeVecCompareLevelsIncreasing | ( | Fraig_Node_t ** | pp1, |
Fraig_Node_t ** | pp2 | ||
) |
Function*************************************************************
Synopsis [Comparison procedure for two clauses.]
Description []
SideEffects []
SeeAlso []
Definition at line 404 of file fraigVec.c.
int Fraig_NodeVecCompareNumbers | ( | Fraig_Node_t ** | pp1, |
Fraig_Node_t ** | pp2 | ||
) |
Function*************************************************************
Synopsis [Comparison procedure for two clauses.]
Description []
SideEffects []
SeeAlso []
Definition at line 448 of file fraigVec.c.
int Fraig_NodeVecCompareRefCounts | ( | Fraig_Node_t ** | pp1, |
Fraig_Node_t ** | pp2 | ||
) |
Function*************************************************************
Synopsis [Comparison procedure for two clauses.]
Description []
SideEffects []
SeeAlso []
Definition at line 470 of file fraigVec.c.
Fraig_NodeVec_t* Fraig_NodeVecDup | ( | Fraig_NodeVec_t * | pVec | ) |
Function*************************************************************
Synopsis [Duplicates the integer array.]
Description []
SideEffects []
SeeAlso []
Definition at line 83 of file fraigVec.c.
void Fraig_NodeVecFree | ( | Fraig_NodeVec_t * | p | ) |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 66 of file fraigVec.c.
void Fraig_NodeVecGrow | ( | Fraig_NodeVec_t * | p, |
int | nCapMin | ||
) |
Function*************************************************************
Synopsis [Resizes the vector to the given capacity.]
Description []
SideEffects []
SeeAlso []
Definition at line 137 of file fraigVec.c.
Fraig_Node_t* Fraig_NodeVecPop | ( | Fraig_NodeVec_t * | p | ) |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 331 of file fraigVec.c.
void Fraig_NodeVecPush | ( | Fraig_NodeVec_t * | p, |
Fraig_Node_t * | Entry | ||
) |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 189 of file fraigVec.c.
void Fraig_NodeVecPushOrder | ( | Fraig_NodeVec_t * | p, |
Fraig_Node_t * | pNode | ||
) |
Function*************************************************************
Synopsis [Inserts a new node in the order by arrival times.]
Description []
SideEffects []
SeeAlso []
Definition at line 233 of file fraigVec.c.
void Fraig_NodeVecPushOrderByLevel | ( | Fraig_NodeVec_t * | p, |
Fraig_Node_t * | pNode | ||
) |
Function*************************************************************
Synopsis [Inserts a new node in the order by arrival times.]
Description []
SideEffects []
SeeAlso []
Definition at line 282 of file fraigVec.c.
int Fraig_NodeVecPushUnique | ( | Fraig_NodeVec_t * | p, |
Fraig_Node_t * | Entry | ||
) |
Function*************************************************************
Synopsis [Add the element while ensuring uniqueness.]
Description [Returns 1 if the element was found, and 0 if it was new. ]
SideEffects []
SeeAlso []
Definition at line 212 of file fraigVec.c.
int Fraig_NodeVecPushUniqueOrder | ( | Fraig_NodeVec_t * | p, |
Fraig_Node_t * | pNode | ||
) |
Function*************************************************************
Synopsis [Add the element while ensuring uniqueness in the order.]
Description [Returns 1 if the element was found, and 0 if it was new. ]
SideEffects []
SeeAlso []
Definition at line 261 of file fraigVec.c.
int Fraig_NodeVecPushUniqueOrderByLevel | ( | Fraig_NodeVec_t * | p, |
Fraig_Node_t * | pNode | ||
) |
Function*************************************************************
Synopsis [Add the element while ensuring uniqueness in the order.]
Description [Returns 1 if the element was found, and 0 if it was new. ]
SideEffects []
SeeAlso []
Definition at line 310 of file fraigVec.c.
Fraig_Node_t** Fraig_NodeVecReadArray | ( | Fraig_NodeVec_t * | p | ) |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 105 of file fraigVec.c.
Fraig_Node_t* Fraig_NodeVecReadEntry | ( | Fraig_NodeVec_t * | p, |
int | i | ||
) |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 387 of file fraigVec.c.
int Fraig_NodeVecReadSize | ( | Fraig_NodeVec_t * | p | ) |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 121 of file fraigVec.c.
void Fraig_NodeVecRemove | ( | Fraig_NodeVec_t * | p, |
Fraig_Node_t * | Entry | ||
) |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 347 of file fraigVec.c.
void Fraig_NodeVecShrink | ( | Fraig_NodeVec_t * | p, |
int | nSizeNew | ||
) |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 156 of file fraigVec.c.
void Fraig_NodeVecSortByLevel | ( | Fraig_NodeVec_t * | p, |
int | fIncreasing | ||
) |
Function*************************************************************
Synopsis [Sorting the entries by their integer value.]
Description []
SideEffects []
SeeAlso []
Definition at line 501 of file fraigVec.c.
void Fraig_NodeVecSortByNumber | ( | Fraig_NodeVec_t * | p | ) |
Function*************************************************************
Synopsis [Sorting the entries by their integer value.]
Description []
SideEffects []
SeeAlso []
Definition at line 522 of file fraigVec.c.
void Fraig_NodeVecSortByRefCount | ( | Fraig_NodeVec_t * | p | ) |
Function*************************************************************
Synopsis [Sorting the entries by their integer value.]
Description []
SideEffects []
SeeAlso []
Definition at line 539 of file fraigVec.c.
void Fraig_NodeVecWriteEntry | ( | Fraig_NodeVec_t * | p, |
int | i, | ||
Fraig_Node_t * | Entry | ||
) |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 370 of file fraigVec.c.