public class CombinedAlgorithm extends AbstractAlgorithm
Modifier and Type | Field and Description |
---|---|
protected CnfSatInstance |
instance |
protected java.util.TreeSet<java.lang.Integer> |
instanceIDs |
protected CnfSatInstance |
mapInstance |
protected java.util.TreeSet<java.lang.Integer> |
Selection |
Constructor and Description |
---|
CombinedAlgorithm() |
Modifier and Type | Method and Description |
---|---|
void |
findAllMUS(AlgorithmData data)
Implementation of the MARCO algorithm
|
CnfSatInstance |
findAMuse(AlgorithmData data) |
protected void |
growSelection() |
boolean |
nextStep(int clauseIndex,
AlgorithmData data) |
protected void |
shrink() |
nextStep, solve, solve, solve
protected CnfSatInstance mapInstance
protected CnfSatInstance instance
protected java.util.TreeSet<java.lang.Integer> instanceIDs
protected java.util.TreeSet<java.lang.Integer> Selection
protected void growSelection() throws java.util.concurrent.TimeoutException, java.lang.InterruptedException, ResultNotRetrievableException
java.util.concurrent.TimeoutException
java.lang.InterruptedException
ResultNotRetrievableException
protected void shrink() throws java.util.concurrent.TimeoutException, java.lang.InterruptedException, ResultNotRetrievableException
java.util.concurrent.TimeoutException
java.lang.InterruptedException
ResultNotRetrievableException
public void findAllMUS(AlgorithmData data) throws java.util.concurrent.TimeoutException, java.lang.InterruptedException, java.io.IOException, ResultNotRetrievableException
java.lang.InterruptedException
java.util.concurrent.TimeoutException
java.io.IOException
ResultNotRetrievableException
public CnfSatInstance findAMuse(AlgorithmData data)
findAMuse
in class AbstractAlgorithm
public boolean nextStep(int clauseIndex, AlgorithmData data)
nextStep
in class AbstractAlgorithm