21 #ifndef __NWK_MERGE_H__
22 #define __NWK_MERGE_H__
38 #define NWK_MAX_LIST 16
111 #define Nwk_GraphForEachEdge( p, pEdge, k ) \
112 for ( k = 0; k < p->nEdgeHash; k++ ) \
113 for ( pEdge = p->pEdgeHash[k]; pEdge; pEdge = pEdge->pNext )
115 #define Nwk_ListForEachVertex( p, List, pVrt ) \
116 for ( pVrt = List? p->pVerts[List] : NULL; pVrt; \
117 pVrt = pVrt->iNext? p->pVerts[pVrt->iNext] : NULL )
119 #define Nwk_VertexForEachAdjacent( p, pVrt, pNext, k ) \
120 for ( k = 0; (k < pVrt->nEdges) && (((pNext) = p->pVerts[pVrt->pEdges[k]]), 1); k++ )
ABC_DLL int Nwk_ManLutMergeGraphTest(char *pFileName)
typedefABC_NAMESPACE_IMPL_START struct Vec_Int_t_ Vec_Int_t
DECLARATIONS ///.
int pLists2[NWK_MAX_LIST+1]
int pLists1[NWK_MAX_LIST+1]
ABC_DLL void Nwk_ManGraphSolve(Nwk_Grf_t *p)
ABC_DLL void Nwk_ManGraphHashEdge(Nwk_Grf_t *p, int iLut1, int iLut2)
#define ABC_NAMESPACE_HEADER_START
NAMESPACES ///.
#define NWK_MAX_LIST
INCLUDES ///.
#define ABC_NAMESPACE_HEADER_END
ABC_DLL void Nwk_ManGraphFree(Nwk_Grf_t *p)
ABC_DLL Nwk_Grf_t * Nwk_ManGraphAlloc(int nVertsMax)
INLINED FUNCTIONS ///.
ABC_DLL void Nwk_ManGraphReportMemoryUsage(Nwk_Grf_t *p)
Aig_MmFixed_t * pMemEdges