#include "rwr.h"
#include "bool/dec/dec.h"
Go to the source code of this file.
◆ Rwr_ManPreprocess()
FUNCTION DEFINITIONS ///.
MACRO DEFINITIONS ///.
Function*************************************************************
Synopsis [Preprocesses computed library of subgraphs.]
Description []
SideEffects []
SeeAlso []
Definition at line 49 of file rwrDec.c.
50{
53 int i, k;
54
56 memset(
p->pMapInv, 0,
sizeof(
unsigned short) * 222 );
57 p->vClasses = Vec_VecStart( 222 );
58 for ( i = 0; i <
p->nFuncs; i++ )
59 {
60 if (
p->pTable[i] == NULL )
61 continue;
62
63 for ( pNode =
p->pTable[i]; pNode; pNode = pNode->
pNext )
64 {
67 Vec_VecPush(
p->vClasses,
p->pMap[pNode->
uTruth], pNode );
69 }
70 }
71
73 {
74 pGraph = Rwr_NodePreprocess(
p, pNode );
77 }
78}
#define ABC_ALLOC(type, num)
unsigned Dec_GraphDeriveTruth(Dec_Graph_t *pGraph)
DECLARATIONS ///.
struct Dec_Graph_t_ Dec_Graph_t
struct Rwr_Node_t_ Rwr_Node_t
#define Vec_VecForEachEntry(Type, vGlob, pEntry, i, k)