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
6d2efdf2
Commit
6d2efdf2
authored
Sep 16, 2017
by
Alan Mishchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improvements in Glucose integration.
parent
f5cb9d64
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
src/sat/glucose/SimpSolver.cpp
+1
-1
No files found.
src/sat/glucose/SimpSolver.cpp
View file @
6d2efdf2
...
@@ -691,6 +691,7 @@ bool SimpSolver::eliminate(bool turn_off_elim)
...
@@ -691,6 +691,7 @@ bool SimpSolver::eliminate(bool turn_off_elim)
printf
(
"c | Eliminated clauses: %10.2f Mb |
\n
"
,
printf
(
"c | Eliminated clauses: %10.2f Mb |
\n
"
,
double
(
elimclauses
.
size
()
*
sizeof
(
uint32_t
))
/
(
1024
*
1024
));
double
(
elimclauses
.
size
()
*
sizeof
(
uint32_t
))
/
(
1024
*
1024
));
printf
(
"c Simplication removed %d variables and %d clauses. "
,
eliminated_vars
,
elimclauses
.
size
()
);
Abc_PrintTime
(
1
,
"Time"
,
Abc_Clock
()
-
clk
);
Abc_PrintTime
(
1
,
"Time"
,
Abc_Clock
()
-
clk
);
return
ok
;
return
ok
;
}
}
...
@@ -704,7 +705,6 @@ void SimpSolver::cleanUpClauses()
...
@@ -704,7 +705,6 @@ void SimpSolver::cleanUpClauses()
if
(
ca
[
clauses
[
i
]].
mark
()
==
0
)
if
(
ca
[
clauses
[
i
]].
mark
()
==
0
)
clauses
[
j
++
]
=
clauses
[
i
];
clauses
[
j
++
]
=
clauses
[
i
];
clauses
.
shrink
(
i
-
j
);
clauses
.
shrink
(
i
-
j
);
printf
(
"Simplication removed %d variables and %d clauses. "
,
eliminated_vars
,
i
-
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