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
9fe4c749
Commit
9fe4c749
authored
Nov 11, 2011
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Corner-case bug in PDR.
parent
8e6d4d3f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
2 deletions
+9
-2
src/sat/pdr/pdrCore.c
+7
-1
src/sat/pdr/pdrSat.c
+2
-1
No files found.
src/sat/pdr/pdrCore.c
View file @
9fe4c749
...
...
@@ -443,7 +443,13 @@ int Pdr_ManBlockCube( Pdr_Man_t * p, Pdr_Set_t * pCube )
p
->
tContain
+=
clock
()
-
clk
;
// check if the cube is already contained
if
(
Pdr_ManCheckCubeCs
(
p
,
pThis
->
iFrame
,
pThis
->
pState
)
)
// cube is blocked by clauses in this frame
RetValue
=
Pdr_ManCheckCubeCs
(
p
,
pThis
->
iFrame
,
pThis
->
pState
);
if
(
RetValue
==
-
1
)
// cube is blocked by clauses in this frame
{
Pdr_OblDeref
(
pThis
);
return
-
1
;
}
if
(
RetValue
)
// cube is blocked by clauses in this frame
{
Pdr_OblDeref
(
pThis
);
continue
;
...
...
src/sat/pdr/pdrSat.c
View file @
9fe4c749
...
...
@@ -246,7 +246,8 @@ int Pdr_ManCheckCubeCs( Pdr_Man_t * p, int k, Pdr_Set_t * pCube )
pSat
=
Pdr_ManFetchSolver
(
p
,
k
);
vLits
=
Pdr_ManCubeToLits
(
p
,
k
,
pCube
,
0
,
0
);
RetValue
=
sat_solver_solve
(
pSat
,
Vec_IntArray
(
vLits
),
Vec_IntArray
(
vLits
)
+
Vec_IntSize
(
vLits
),
0
,
0
,
0
,
0
);
assert
(
RetValue
!=
l_Undef
);
if
(
RetValue
==
l_Undef
)
return
-
1
;
return
(
RetValue
==
l_False
);
}
...
...
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