public class MUCState extends KahinaState
Modifier and Type | Field and Description |
---|---|
static boolean |
VERBOSE |
consoleLines, consoleMessages, matchCountByBreakpoint, warnThresholdByBreakpoint
Constructor and Description |
---|
MUCState(MUCInstance kahina) |
MUCState(MUCInstance kahina,
CnfSatInstance satInstance,
MUCStatistics stat,
MiniSATFiles files) |
Modifier and Type | Method and Description |
---|---|
void |
addAndDistributeIrreducibilityInfo(int parentID,
int failedReductionID) |
void |
addAndDistributeReducibilityInfo(int childID,
int reductionID,
int link) |
int |
autarkyReduction(int ucID) |
BlocklessBlockHandler |
getBlocklessBlocks() |
java.util.List<java.util.TreeSet<java.lang.Integer>> |
getBlocksForUC(int ucID) |
ColoredPathDAG |
getDecisionGraph() |
MiniSATFiles |
getFiles() |
MUCInstance |
getKahina() |
MUCMetaInstance |
getMetaInstance() |
PartitionBlockHandler |
getPartitionBlocks() |
RecursiveBlockHandler |
getRecursiveBlocks() |
UCReducerList |
getReducers() |
CnfSatInstance |
getSatInstance() |
MUCStep |
getSelectedStep() |
MUCStatistics |
getStatistics() |
void |
initialize() |
void |
learnMetaBlock(java.util.TreeSet<java.lang.Integer> metaBlock) |
void |
learnMetaClause(java.util.TreeSet<java.lang.Integer> metaClause) |
void |
learnMetaUnits(MUCStep uc) |
void |
modelRotation(CompleteAssignment model,
int ucID,
int transClID,
java.util.TreeSet<java.lang.Integer> derivedCritical) |
protected void |
processSelection() |
void |
propagateIrreducibilityInfo(int parentID,
int childID) |
void |
propagateReducibilityInfo(int childID,
int parentID) |
int |
registerMUC(java.lang.Integer[] mucCandidates,
java.lang.Integer[] muc,
MUCInstruction lastInstruction,
int parentID) |
int |
registerMUC(MUCStep newStep,
int parentID,
java.util.List<java.lang.Integer> selCandidates) |
void |
reset() |
void |
setFiles(MiniSATFiles files) |
void |
setSatInstance(CnfSatInstance satInstance) |
void |
setStatistics(MUCStatistics stat) |
void |
updateDecisionNode(int stepID) |
boolean |
usesBlocks() |
boolean |
usesMetaLearning() |
consoleMessage, get, getConsoleMessages, getLineReferencesForStep, getMatchCountByBreakpoint, getSelectedStepID, getStepCount, getSteps, getWarnThresholdByBreakpoint, loadSteps, nextStepID, processEvent, retrieve, store
public MUCState(MUCInstance kahina)
public MUCState(MUCInstance kahina, CnfSatInstance satInstance, MUCStatistics stat, MiniSATFiles files)
public void initialize()
initialize
in class KahinaState
public void reset()
public MUCInstance getKahina()
public boolean usesBlocks()
public boolean usesMetaLearning()
public MUCStep getSelectedStep()
public CnfSatInstance getSatInstance()
public MUCMetaInstance getMetaInstance()
public MUCStatistics getStatistics()
public MiniSATFiles getFiles()
public ColoredPathDAG getDecisionGraph()
public UCReducerList getReducers()
public BlocklessBlockHandler getBlocklessBlocks()
public PartitionBlockHandler getPartitionBlocks()
public RecursiveBlockHandler getRecursiveBlocks()
public java.util.List<java.util.TreeSet<java.lang.Integer>> getBlocksForUC(int ucID)
public int registerMUC(MUCStep newStep, int parentID, java.util.List<java.lang.Integer> selCandidates)
public int registerMUC(java.lang.Integer[] mucCandidates, java.lang.Integer[] muc, MUCInstruction lastInstruction, int parentID)
public void setSatInstance(CnfSatInstance satInstance)
public void setStatistics(MUCStatistics stat)
public void setFiles(MiniSATFiles files)
protected void processSelection()
processSelection
in class KahinaState
public int autarkyReduction(int ucID)
public void modelRotation(CompleteAssignment model, int ucID, int transClID, java.util.TreeSet<java.lang.Integer> derivedCritical)
public void learnMetaBlock(java.util.TreeSet<java.lang.Integer> metaBlock)
public void learnMetaClause(java.util.TreeSet<java.lang.Integer> metaClause)
public void learnMetaUnits(MUCStep uc)
public void addAndDistributeIrreducibilityInfo(int parentID, int failedReductionID)
public void addAndDistributeReducibilityInfo(int childID, int reductionID, int link)
public void propagateIrreducibilityInfo(int parentID, int childID)
public void propagateReducibilityInfo(int childID, int parentID)
public void updateDecisionNode(int stepID)