Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
SAT4J
sat4j
Commits
eb123484
Commit
eb123484
authored
Oct 27, 2017
by
Jan Elffers
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
this seems to fix skipping
parent
4e777688
Pipeline
#332
passed with stage
in 1 minute and 1 second
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
org.sat4j.pb/src/main/java/org/sat4j/pb/constraints/pb/ConflictMap.java
...rc/main/java/org/sat4j/pb/constraints/pb/ConflictMap.java
+1
-1
No files found.
org.sat4j.pb/src/main/java/org/sat4j/pb/constraints/pb/ConflictMap.java
View file @
eb123484
...
...
@@ -326,7 +326,7 @@ public class ConflictMap extends MapPb implements IConflict {
System
.
out
.
println
(
"skip"
);
System
.
out
.
println
(
"coef: "
+
this
.
weightedLits
.
get
(
nLitImplied
)
+
", slack: "
+
slackConflict
());
if
(
this
.
weightedLits
.
get
(
nLitImplied
).
negate
()
.
compareTo
(
currentSlack
.
subtract
(
degree
))
>
0
)
{
.
compareTo
(
slackConflict
()
/*
currentSlack.subtract(degree)
*/
)
>
0
)
{
if
(
this
.
endingSkipping
)
stats
.
numberOfEndingSkipping
++;
else
...
...
Daniel Le Berre
@leberre
mentioned in commit
f4123ef5
·
Oct 30, 2017
mentioned in commit
f4123ef5
mentioned in commit f4123ef53aac5e3208abc491201d7aad34d5b72c
Toggle commit list
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