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
bc010af4
Commit
bc010af4
authored
Feb 17, 2017
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Promising modification of the generalization procedure in 'pdr'.
parent
378af9d9
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
src/proof/pdr/pdrCore.c
+10
-0
No files found.
src/proof/pdr/pdrCore.c
View file @
bc010af4
...
...
@@ -637,6 +637,16 @@ int Pdr_ManGeneralize( Pdr_Man_t * p, int k, Pdr_Set_t * pCube, Pdr_Set_t ** ppP
Pdr_SetDeref
(
pCubeTmp
);
assert
(
pCubeMin
->
nLits
>
0
);
// assume the minimized cube
if
(
p
->
pPars
->
fSimpleGeneral
)
{
sat_solver
*
pSat
=
Pdr_ManFetchSolver
(
p
,
k
);
Vec_Int_t
*
vLits1
=
Pdr_ManCubeToLits
(
p
,
k
,
pCubeMin
,
1
,
0
);
int
RetValue1
=
sat_solver_addclause
(
pSat
,
Vec_IntArray
(
vLits1
),
Vec_IntArray
(
vLits1
)
+
Vec_IntSize
(
vLits1
)
);
assert
(
RetValue1
==
1
);
sat_solver_compress
(
pSat
);
}
// get the ordering by decreasing priority
pOrder
=
Pdr_ManSortByPriority
(
p
,
pCubeMin
);
j
--
;
...
...
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