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
c05aa7a8
Commit
c05aa7a8
authored
Jun 04, 2014
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adding CEC command &splitprove.
parent
4875dfcb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
src/proof/cec/cecSplit.c
+4
-4
No files found.
src/proof/cec/cecSplit.c
View file @
c05aa7a8
...
...
@@ -426,7 +426,7 @@ int Cec_GiaSplitTest2( Gia_Man_t * p, int nProcs, int nTimeOut, int nIterMax, in
// get the last AIG
Gia_Man_t
*
pLast
=
(
Gia_Man_t
*
)
Vec_PtrPop
(
vStack
);
// determine cofactoring variable
int
Depth
=
pLast
->
vCofVars
?
Vec_IntSize
(
pLast
->
vCofVars
)
:
0
;
int
Depth
=
1
+
(
pLast
->
vCofVars
?
Vec_IntSize
(
pLast
->
vCofVars
)
:
0
)
;
int
iVar
=
Gia_SplitCofVar
(
pLast
,
LookAhead
);
// cofactor
Gia_Man_t
*
pPart
=
Gia_ManDupCofactor
(
pLast
,
iVar
,
0
);
...
...
@@ -441,7 +441,7 @@ int Cec_GiaSplitTest2( Gia_Man_t * p, int nProcs, int nTimeOut, int nIterMax, in
status
=
Cnf_GiaSolveOne
(
pPart
,
pCnf
,
nTimeOut
,
&
nSatVars
,
&
nSatConfs
);
Cnf_DataFree
(
pCnf
);
if
(
status
==
1
)
Progress
+=
1
.
0
/
pow
(
2
,
Depth
+
1
);
Progress
+=
1
.
0
/
pow
(
2
,
Depth
);
if
(
fVerbose
)
Cec_GiaSplitPrint
(
nIter
,
Depth
,
nSatVars
,
nSatConfs
,
status
,
Progress
,
Abc_Clock
()
-
clkTotal
);
if
(
status
==
0
)
// SAT
...
...
@@ -468,7 +468,7 @@ int Cec_GiaSplitTest2( Gia_Man_t * p, int nProcs, int nTimeOut, int nIterMax, in
status
=
Cnf_GiaSolveOne
(
pPart
,
pCnf
,
nTimeOut
,
&
nSatVars
,
&
nSatConfs
);
Cnf_DataFree
(
pCnf
);
if
(
status
==
1
)
Progress
+=
1
.
0
/
pow
(
2
,
Depth
+
1
);
Progress
+=
1
.
0
/
pow
(
2
,
Depth
);
if
(
fVerbose
)
Cec_GiaSplitPrint
(
nIter
,
Depth
,
nSatVars
,
nSatConfs
,
status
,
Progress
,
Abc_Clock
()
-
clkTotal
);
if
(
status
==
0
)
// SAT
...
...
@@ -568,7 +568,7 @@ int Cec_GiaSplitTest( Gia_Man_t * p, int nProcs, int nTimeOut, int nIterMax, int
pCnf
=
Cec_GiaDeriveGiaRemapped
(
p
);
status
=
Cnf_GiaSolveOne
(
p
,
pCnf
,
nTimeOut
,
&
nSatVars
,
&
nSatConfs
);
Cnf_DataFree
(
pCnf
);
if
(
fVerbose
)
if
(
fVerbose
&&
status
!=
-
1
)
Cec_GiaSplitPrint
(
0
,
0
,
nSatVars
,
nSatConfs
,
status
,
Progress
,
Abc_Clock
()
-
clkTotal
);
if
(
status
==
0
)
{
...
...
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