Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
abc
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
abc
Commits
70ccd477
Commit
70ccd477
authored
Feb 26, 2013
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
User-controlable SAT sweeper.
parent
ef472c6c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
3 deletions
+25
-3
src/aig/gia/giaSweeper.c
+25
-3
No files found.
src/aig/gia/giaSweeper.c
View file @
70ccd477
...
@@ -267,6 +267,28 @@ int Gia_SweeperCondPop( Gia_Man_t * p )
...
@@ -267,6 +267,28 @@ int Gia_SweeperCondPop( Gia_Man_t * p )
return
ProbId
;
return
ProbId
;
}
}
/**Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
***********************************************************************/
static
inline
Vec_Ptr_t
*
Vec_PtrDupStr
(
Vec_Ptr_t
*
pVec
)
{
char
*
pName
;
int
i
;
Vec_Ptr_t
*
p
=
Vec_PtrDup
(
pVec
);
Vec_PtrForEachEntry
(
char
*
,
p
,
pName
,
i
)
Vec_PtrWriteEntry
(
p
,
i
,
Abc_UtilStrsav
(
pName
)
);
return
p
;
}
/**Function*************************************************************
/**Function*************************************************************
Synopsis []
Synopsis []
...
@@ -330,10 +352,10 @@ Gia_Man_t * Gia_SweeperExtractUserLogic( Gia_Man_t * p, Vec_Int_t * vProbeIds, V
...
@@ -330,10 +352,10 @@ Gia_Man_t * Gia_SweeperExtractUserLogic( Gia_Man_t * p, Vec_Int_t * vProbeIds, V
}
}
// copy names if present
// copy names if present
if
(
p
->
vNamesIn
)
if
(
p
->
vNamesIn
)
pNew
->
vNamesIn
=
Vec_PtrDup
(
p
->
vNamesIn
);
pNew
->
vNamesIn
=
Vec_PtrDup
Str
(
p
->
vNamesIn
);
if
(
vOutNames
)
if
(
vOutNames
)
pNew
->
vNamesOut
=
Vec_PtrDup
(
vOutNames
);
pNew
->
vNamesOut
=
Vec_PtrDup
Str
(
vOutNames
);
Gia_ManPrintStats
(
pNew
,
0
,
0
,
0
);
//
Gia_ManPrintStats( pNew, 0, 0, 0 );
return
pNew
;
return
pNew
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment