58 for ( i = 0; i < p->
nFuncs; i++ )
60 if ( p->
pTable[i] == NULL )
63 for ( pNode = p->
pTable[i]; pNode; pNode = pNode->
pNext )
100 if ( pNode->
uTruth == 0x00FF )
135 eNode0.fCompl = !eNode0.fCompl;
138 eNode1.fCompl = !eNode1.fCompl;
void Rwt_ManIncTravId(Rwt_Man_t *p)
static unsigned Dec_EdgeToInt(Dec_Edge_t eEdge)
static Dec_Edge_t Rwt_TravCollect_rec(Rwt_Man_t *p, Rwt_Node_t *pNode, Dec_Graph_t *pGraph)
void Rwt_ManPreprocess(Rwt_Man_t *p)
FUNCTION DEFINITIONS ///.
static void Vec_VecPush(Vec_Vec_t *p, int Level, void *Entry)
#define Vec_VecForEachEntry(Type, vGlob, pEntry, i, k)
static Dec_Edge_t Dec_EdgeCreate(int Node, int fCompl)
FUNCTION DEFINITIONS ///.
#define ABC_ALLOC(type, num)
typedefABC_NAMESPACE_HEADER_START struct Dec_Edge_t_ Dec_Edge_t
INCLUDES ///.
static Dec_Edge_t Dec_IntToEdge(unsigned Edge)
static Dec_Edge_t Dec_GraphAddNodeAnd(Dec_Graph_t *pGraph, Dec_Edge_t eEdge0, Dec_Edge_t eEdge1)
static int Rwt_IsComplement(Rwt_Node_t *p)
static ABC_NAMESPACE_IMPL_START Dec_Graph_t * Rwt_NodePreprocess(Rwt_Man_t *p, Rwt_Node_t *pNode)
DECLARATIONS ///.
static Dec_Graph_t * Dec_GraphCreateConst0()
#define ABC_NAMESPACE_IMPL_END
static Dec_Edge_t Dec_GraphAddNodeXor(Dec_Graph_t *pGraph, Dec_Edge_t eEdge0, Dec_Edge_t eEdge1, int Type)
static Vec_Vec_t * Vec_VecStart(int nSize)
static void Dec_GraphSetRoot(Dec_Graph_t *pGraph, Dec_Edge_t eRoot)
#define ABC_NAMESPACE_IMPL_START
static Dec_Graph_t * Dec_GraphCreateLeaf(int iLeaf, int nLeaves, int fCompl)
static Dec_Graph_t * Dec_GraphCreate(int nLeaves)
static Rwt_Node_t * Rwt_Regular(Rwt_Node_t *p)
unsigned short * puCanons