public class ReductionTask extends KahinaTask
Modifier and Type | Field and Description |
---|---|
java.util.List<java.lang.Integer> |
candidates |
static int |
idCounter |
int |
reductionID |
MUCStep |
uc |
int |
ucID |
Constructor and Description |
---|
ReductionTask(KahinaProgressBar progressBar,
KahinaTaskManager manager,
MUCStatistics stat,
MUCStep uc,
int ucID,
java.util.List<java.lang.Integer> candidates,
MiniSATFiles files,
CnfSatInstance instance) |
ReductionTask(KahinaProgressBar progressBar,
KahinaTaskManager manager,
MUCStatistics stat,
MUCStep uc,
int ucID,
java.util.List<java.lang.Integer> candidates,
MUCStep result,
CnfSatInstance instance)
Construct a pseudo-reduction task for a known outcome which simply retrieves a result step.
|
Modifier and Type | Method and Description |
---|---|
CompleteAssignment |
getModel() |
static int |
getNextID() |
MUCStep |
getResult()
Retrieve the MUCStep resulting from the reduction (attempt)
|
boolean |
isDummyTask() |
void |
run() |
void |
setAutarkyReduction(boolean autarkyReduction) |
void |
setClauseSetRefinement(boolean clauseSetRefinement) |
void |
setModelRotation(boolean modelRotation) |
java.lang.String |
toString() |
boolean |
usesAutarkyReduction() |
boolean |
usesClauseSetRefinement() |
boolean |
usesModelRotation() |
isCanceled, isFinished, setCanceled, setFinished, setProgressAndStatus
public static int idCounter
public final int reductionID
public final MUCStep uc
public final int ucID
public final java.util.List<java.lang.Integer> candidates
public ReductionTask(KahinaProgressBar progressBar, KahinaTaskManager manager, MUCStatistics stat, MUCStep uc, int ucID, java.util.List<java.lang.Integer> candidates, MUCStep result, CnfSatInstance instance)
progressBar
- reducer
- uc
- ucID
- candidate
- public ReductionTask(KahinaProgressBar progressBar, KahinaTaskManager manager, MUCStatistics stat, MUCStep uc, int ucID, java.util.List<java.lang.Integer> candidates, MiniSATFiles files, CnfSatInstance instance)
public static int getNextID()
public boolean usesClauseSetRefinement()
public void setClauseSetRefinement(boolean clauseSetRefinement)
public boolean usesModelRotation()
public void setModelRotation(boolean modelRotation)
public boolean usesAutarkyReduction()
public void setAutarkyReduction(boolean autarkyReduction)
public boolean isDummyTask()
public void run()
public CompleteAssignment getModel()
public MUCStep getResult()
public java.lang.String toString()
toString
in class java.lang.Object