public class IndividualReuseStrategy extends AbstractExpansionStrategy implements java.io.Serializable
| Modifier and Type | Class and Description |
|---|---|
protected class |
IndividualReuseStrategy.IndividualReuseBranchingPoint |
protected static class |
IndividualReuseStrategy.NodeBranchingPointPair |
AbstractExpansionStrategy.SatType| Modifier and Type | Field and Description |
|---|---|
protected java.lang.Object[] |
m_auxiliaryBuffer |
protected java.util.Set<AtomicConcept> |
m_dontReuseConceptsEver |
protected java.util.Set<AtomicConcept> |
m_dontReuseConceptsThisRun |
protected java.util.Set<AtomicConcept> |
m_doReuseConceptsAlways |
protected int[] |
m_indicesByBranchingPoint |
protected boolean |
m_isDeterministic |
protected TupleTable |
m_reuseBacktrackingTable |
protected java.util.Map<AtomicConcept,IndividualReuseStrategy.NodeBranchingPointPair> |
m_reusedNodes |
m_auxiliaryNodes1, m_auxiliaryNodes2, m_blockingStrategy, m_descriptionGraphManager, m_existentialExpansionManager, m_expandNodeAtATime, m_extensionManager, m_interruptFlag, m_processedExistentials, m_tableau, m_ternaryExtensionTableSearch01Bound, m_ternaryExtensionTableSearch02Bound| Constructor and Description |
|---|
IndividualReuseStrategy(BlockingStrategy strategy,
boolean isDeterministic) |
| Modifier and Type | Method and Description |
|---|---|
void |
backtrack() |
void |
branchingPointPushed() |
void |
clear() |
protected void |
expandExistential(AtLeast atLeast,
Node forNode)
This method performs the actual expansion.
|
protected boolean |
expandWithModelReuse(AtLeastConcept atLeastConcept,
Node node) |
AtomicConcept |
getConceptForNode(Node node) |
java.util.Set<AtomicConcept> |
getDontReuseConceptsEver() |
void |
initialize(Tableau tableau) |
boolean |
isDeterministic() |
void |
modelFound() |
protected boolean |
tryParentReuse(AtLeastConcept atLeastConcept,
Node node) |
additionalDLOntologyCleared, additionalDLOntologySet, assertionAdded, assertionAdded, assertionAdded, assertionCoreSet, assertionCoreSet, assertionCoreSet, assertionRemoved, assertionRemoved, assertionRemoved, containsSubsetOfNUnequalNodes, dlClauseBodyCompiled, expandExistentials, isExact, isPermanentSatisfier, isSatisfied, nodeDestroyed, nodeInitialized, nodesMerged, nodeStatusChanged, nodesUnmergedprotected final boolean m_isDeterministic
protected final java.util.Map<AtomicConcept,IndividualReuseStrategy.NodeBranchingPointPair> m_reusedNodes
protected final java.util.Set<AtomicConcept> m_doReuseConceptsAlways
protected final java.util.Set<AtomicConcept> m_dontReuseConceptsThisRun
protected final java.util.Set<AtomicConcept> m_dontReuseConceptsEver
protected final TupleTable m_reuseBacktrackingTable
protected final java.lang.Object[] m_auxiliaryBuffer
protected int[] m_indicesByBranchingPoint
public IndividualReuseStrategy(BlockingStrategy strategy, boolean isDeterministic)
public void initialize(Tableau tableau)
initialize in interface ExistentialExpansionStrategyinitialize in class AbstractExpansionStrategypublic void clear()
clear in interface ExistentialExpansionStrategyclear in class AbstractExpansionStrategypublic void branchingPointPushed()
branchingPointPushed in interface ExistentialExpansionStrategybranchingPointPushed in class AbstractExpansionStrategypublic void backtrack()
backtrack in interface ExistentialExpansionStrategybacktrack in class AbstractExpansionStrategypublic void modelFound()
modelFound in interface ExistentialExpansionStrategymodelFound in class AbstractExpansionStrategypublic boolean isDeterministic()
isDeterministic in interface ExistentialExpansionStrategypublic AtomicConcept getConceptForNode(Node node)
public java.util.Set<AtomicConcept> getDontReuseConceptsEver()
protected void expandExistential(AtLeast atLeast, Node forNode)
AbstractExpansionStrategyexpandExistential in class AbstractExpansionStrategyprotected boolean tryParentReuse(AtLeastConcept atLeastConcept, Node node)
protected boolean expandWithModelReuse(AtLeastConcept atLeastConcept, Node node)