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
cec6bd64
Commit
cec6bd64
authored
Jun 21, 2013
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Limiting runtime limit checks in 'pdr'.
parent
77cef7ca
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
src/sat/bsat/satSolver.c
+1
-1
src/sat/bsat/satSolver2.c
+1
-1
No files found.
src/sat/bsat/satSolver.c
View file @
cec6bd64
...
...
@@ -1576,7 +1576,7 @@ static lbool sat_solver_search(sat_solver* s, ABC_INT64_T nof_conflicts)
int
next
;
// Reached bound on number of conflicts:
if
((
nof_conflicts
>=
0
&&
conflictC
>=
nof_conflicts
)
||
(
s
->
nRuntimeLimit
&&
Abc_Clock
()
>
s
->
nRuntimeLimit
)){
if
((
nof_conflicts
>=
0
&&
conflictC
>=
nof_conflicts
)
||
(
s
->
nRuntimeLimit
&&
(
s
->
stats
.
conflicts
&
63
)
==
0
&&
Abc_Clock
()
>
s
->
nRuntimeLimit
)){
s
->
progress_estimate
=
sat_solver_progress
(
s
);
sat_solver_canceluntil
(
s
,
s
->
root_level
);
veci_delete
(
&
learnt_clause
);
...
...
src/sat/bsat/satSolver2.c
View file @
cec6bd64
...
...
@@ -1037,7 +1037,7 @@ static lbool solver2_search(sat_solver2* s, ABC_INT64_T nof_conflicts)
// NO CONFLICT
int
next
;
if
((
nof_conflicts
>=
0
&&
conflictC
>=
nof_conflicts
)
||
(
s
->
nRuntimeLimit
&&
Abc_Clock
()
>
s
->
nRuntimeLimit
)){
if
((
nof_conflicts
>=
0
&&
conflictC
>=
nof_conflicts
)
||
(
s
->
nRuntimeLimit
&&
(
s
->
stats
.
conflicts
&
63
)
==
0
&&
Abc_Clock
()
>
s
->
nRuntimeLimit
)){
// Reached bound on number of conflicts:
s
->
progress_estimate
=
solver2_progress
(
s
);
solver2_canceluntil
(
s
,
s
->
root_level
);
...
...
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