Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
sat4j
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
48
Issues
48
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Container Registry
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
SAT4J
sat4j
Commits
4d60570b
Commit
4d60570b
authored
Nov 11, 2018
by
Daniel Le Berre
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make more objects serializable.
parent
d8f1491c
Pipeline
#3355
passed with stages
in 45 minutes and 18 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
7 deletions
+8
-7
org.sat4j.core/src/main/java/org/sat4j/minisat/core/ConflictTimer.java
...e/src/main/java/org/sat4j/minisat/core/ConflictTimer.java
+3
-1
org.sat4j.core/src/main/java/org/sat4j/minisat/core/ConflictTimerContainer.java
...n/java/org/sat4j/minisat/core/ConflictTimerContainer.java
+3
-5
org.sat4j.core/src/main/java/org/sat4j/minisat/core/IOrder.java
...t4j.core/src/main/java/org/sat4j/minisat/core/IOrder.java
+2
-1
No files found.
org.sat4j.core/src/main/java/org/sat4j/minisat/core/ConflictTimer.java
View file @
4d60570b
...
...
@@ -29,6 +29,8 @@
*******************************************************************************/
package
org
.
sat4j
.
minisat
.
core
;
import
java.io.Serializable
;
/**
* Conflict based timer.
*
...
...
@@ -37,7 +39,7 @@ package org.sat4j.minisat.core;
* @author daniel
*
*/
public
interface
ConflictTimer
{
public
interface
ConflictTimer
extends
Serializable
{
void
reset
();
...
...
org.sat4j.core/src/main/java/org/sat4j/minisat/core/ConflictTimerContainer.java
View file @
4d60570b
...
...
@@ -29,8 +29,6 @@
*******************************************************************************/
package
org
.
sat4j
.
minisat
.
core
;
import
java.io.Serializable
;
import
org.sat4j.core.Vec
;
import
org.sat4j.specs.IVec
;
...
...
@@ -40,11 +38,11 @@ import org.sat4j.specs.IVec;
* @author daniel
*
*/
public
class
ConflictTimerContainer
implements
Serializable
,
ConflictTimer
{
public
class
ConflictTimerContainer
implements
ConflictTimer
{
/**
*
*/
*
*/
private
static
final
long
serialVersionUID
=
1L
;
private
final
IVec
<
ConflictTimer
>
timers
=
new
Vec
<
ConflictTimer
>();
...
...
org.sat4j.core/src/main/java/org/sat4j/minisat/core/IOrder.java
View file @
4d60570b
...
...
@@ -30,6 +30,7 @@
package
org
.
sat4j
.
minisat
.
core
;
import
java.io.PrintWriter
;
import
java.io.Serializable
;
/**
* Interface for the variable ordering heuristics. It has both the
...
...
@@ -39,7 +40,7 @@ import java.io.PrintWriter;
* @author daniel
*
*/
public
interface
IOrder
{
public
interface
IOrder
extends
Serializable
{
/**
* Method used to provide an easy access the the solver vocabulary.
...
...
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