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;
static unsigned Dec_EdgeToInt(Dec_Edge_t eEdge)
static void Vec_VecPush(Vec_Vec_t *p, int Level, void *Entry)
static Dec_Edge_t Rwr_TravCollect_rec(Rwr_Man_t *p, Rwr_Node_t *pNode, Dec_Graph_t *pGraph)
#define Vec_VecForEachEntry(Type, vGlob, pEntry, i, k)
unsigned short * puCanons
static Dec_Edge_t Dec_EdgeCreate(int Node, int fCompl)
FUNCTION DEFINITIONS ///.
static int Rwr_IsComplement(Rwr_Node_t *p)
#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)
void Rwr_ManIncTravId(Rwr_Man_t *p)
static Dec_Graph_t * Dec_GraphCreateConst0()
unsigned Dec_GraphDeriveTruth(Dec_Graph_t *pGraph)
#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)
static ABC_NAMESPACE_IMPL_START Dec_Graph_t * Rwr_NodePreprocess(Rwr_Man_t *p, Rwr_Node_t *pNode)
DECLARATIONS ///.
#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)
void Rwr_ManPreprocess(Rwr_Man_t *p)
FUNCTION DEFINITIONS ///.
static Rwr_Node_t * Rwr_Regular(Rwr_Node_t *p)