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
1d0b8276
Commit
1d0b8276
authored
Oct 19, 2011
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changes to CNF generation code.
parent
12b70d49
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
2 deletions
+6
-2
src/aig/cnf/cnf.h
+4
-1
src/aig/cnf/cnfFast.c
+0
-0
src/aig/saig/saigAbsPba.c
+2
-1
No files found.
src/aig/cnf/cnf.h
View file @
1d0b8276
...
...
@@ -138,7 +138,10 @@ extern void Cnf_CutUpdateRefs( Cnf_Man_t * p, Cnf_Cut_t * pCut, Cnf_C
extern
Cnf_Cut_t
*
Cnf_CutCompose
(
Cnf_Man_t
*
p
,
Cnf_Cut_t
*
pCut
,
Cnf_Cut_t
*
pCutFan
,
int
iFan
);
/*=== cnfData.c ========================================================*/
extern
void
Cnf_ReadMsops
(
char
**
ppSopSizes
,
char
***
ppSops
);
/*=== cnfData.c ========================================================*/
/*=== cnfFast.c ========================================================*/
extern
void
Cnf_CollectLeaves
(
Aig_Obj_t
*
pRoot
,
Vec_Ptr_t
*
vSuper
,
int
fStopCompl
);
extern
void
Cnf_ComputeClauses
(
Aig_Man_t
*
p
,
Aig_Obj_t
*
pRoot
,
Vec_Ptr_t
*
vLeaves
,
Vec_Ptr_t
*
vNodes
,
Vec_Int_t
*
vMap
,
Vec_Int_t
*
vCover
,
Vec_Int_t
*
vClauses
);
extern
Cnf_Dat_t
*
Cnf_DeriveFast
(
Aig_Man_t
*
p
,
int
nOutputs
);
/*=== cnfMan.c ========================================================*/
extern
Cnf_Man_t
*
Cnf_ManStart
();
...
...
src/aig/cnf/cnfFast.c
View file @
1d0b8276
This diff is collapsed.
Click to expand it.
src/aig/saig/saigAbsPba.c
View file @
1d0b8276
...
...
@@ -269,7 +269,8 @@ clk = clock();
if
(
fVerbose
)
Aig_ManPrintStats
(
pFrames
);
// pCnf = Cnf_DeriveSimple( pFrames, 0 );
pCnf
=
Cnf_Derive
(
pFrames
,
0
);
// pCnf = Cnf_Derive( pFrames, 0 );
pCnf
=
Cnf_DeriveFast
(
pFrames
,
0
);
pSat
=
(
sat_solver
*
)
Cnf_DataWriteIntoSolver
(
pCnf
,
1
,
0
);
if
(
pSat
==
NULL
)
{
...
...
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