Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
sat4j
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
51
Issues
51
List
Boards
Labels
Service Desk
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
SAT4J
sat4j
Commits
bbd24d04
Commit
bbd24d04
authored
Jul 03, 2017
by
Lonca Emmanuel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed a bug that made some "v" lines be wrong in results display
parent
446f7aaf
Pipeline
#199
passed with stage
in 11 minutes and 46 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
org.sat4j.csp/src/main/java/org/sat4j/reader/XMLCSP3Reader.java
...t4j.csp/src/main/java/org/sat4j/reader/XMLCSP3Reader.java
+4
-3
No files found.
org.sat4j.csp/src/main/java/org/sat4j/reader/XMLCSP3Reader.java
View file @
bbd24d04
...
...
@@ -184,21 +184,22 @@ public class XMLCSP3Reader extends Reader implements XCallbacks2 {
.
append
(
degree
.
toString
())
.
append
(
"\">\n"
);
appendModel
(
strModelBuffer
,
model
);
strModelBuffer
.
append
(
"v </instantiation>\n"
);
break
;
case
UPPER_BOUND:
case
SATISFIABLE:
strModelBuffer
.
append
(
"<instantiation type=\"solution\">\n"
);
appendModel
(
strModelBuffer
,
model
);
strModelBuffer
.
append
(
"v </instantiation>\n"
);
break
;
case
UNSATISFIABLE:
strModelBuffer
.
append
(
AbstractLauncher
.
COMMENT_PREFIX
).
append
(
" no model"
);
strModelBuffer
.
append
(
AbstractLauncher
.
COMMENT_PREFIX
).
append
(
" no model
\n
"
);
break
;
case
UNKNOWN:
default
:
strModelBuffer
.
append
(
AbstractLauncher
.
COMMENT_PREFIX
).
append
(
" unknown state"
);
strModelBuffer
.
append
(
AbstractLauncher
.
COMMENT_PREFIX
).
append
(
" unknown state
\n
"
);
break
;
}
strModelBuffer
.
append
(
"v </instantiation>"
);
return
strModelBuffer
.
toString
();
}
...
...
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