public abstract class AbstractAlgorithm
extends java.lang.Object
| Constructor and Description |
|---|
AbstractAlgorithm() |
| Modifier and Type | Method and Description |
|---|---|
CnfSatInstance |
findAMuse(AlgorithmData data) |
boolean |
nextStep(AlgorithmData data) |
abstract boolean |
nextStep(int clauseIndex,
AlgorithmData data) |
protected boolean |
solve(AlgorithmData data) |
protected boolean |
solve(AlgorithmData data,
int[] freeze) |
protected boolean |
solve(AlgorithmData data,
java.util.List<java.lang.Integer> clause) |
protected boolean solve(AlgorithmData data) throws java.util.concurrent.TimeoutException, ResultNotRetrievableException
java.util.concurrent.TimeoutExceptionResultNotRetrievableExceptionprotected boolean solve(AlgorithmData data, int[] freeze) throws java.util.concurrent.TimeoutException, ResultNotRetrievableException
java.util.concurrent.TimeoutExceptionResultNotRetrievableExceptionprotected boolean solve(AlgorithmData data, java.util.List<java.lang.Integer> clause) throws java.util.concurrent.TimeoutException, ResultNotRetrievableException
java.util.concurrent.TimeoutExceptionResultNotRetrievableExceptionpublic CnfSatInstance findAMuse(AlgorithmData data) throws ResultNotRetrievableException
ResultNotRetrievableExceptionpublic boolean nextStep(AlgorithmData data) throws ResultNotRetrievableException
ResultNotRetrievableExceptionpublic abstract boolean nextStep(int clauseIndex,
AlgorithmData data)
throws ResultNotRetrievableException
clauseIndex - ResultNotRetrievableException