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.TimeoutException
ResultNotRetrievableException
protected boolean solve(AlgorithmData data, int[] freeze) throws java.util.concurrent.TimeoutException, ResultNotRetrievableException
java.util.concurrent.TimeoutException
ResultNotRetrievableException
protected boolean solve(AlgorithmData data, java.util.List<java.lang.Integer> clause) throws java.util.concurrent.TimeoutException, ResultNotRetrievableException
java.util.concurrent.TimeoutException
ResultNotRetrievableException
public CnfSatInstance findAMuse(AlgorithmData data) throws ResultNotRetrievableException
ResultNotRetrievableException
public boolean nextStep(AlgorithmData data) throws ResultNotRetrievableException
ResultNotRetrievableException
public abstract boolean nextStep(int clauseIndex, AlgorithmData data) throws ResultNotRetrievableException
clauseIndex
- ResultNotRetrievableException