org.semanticweb.HermiT.blocking
Class AnywhereValidatedBlocking2
java.lang.Object
org.semanticweb.HermiT.blocking.AnywhereValidatedBlocking2
- All Implemented Interfaces:
- BlockingStrategy
public class AnywhereValidatedBlocking2
- extends java.lang.Object
- implements BlockingStrategy
|
Method Summary |
protected void |
addViolation(AnywhereValidatedBlocking2.BlockingViolation violation,
java.util.Map<java.lang.String,java.lang.Integer> countMap)
|
void |
assertionAdded(AtomicRole atomicRole,
Node nodeFrom,
Node nodeTo,
boolean isCore)
|
void |
assertionAdded(Concept concept,
Node node,
boolean isCore)
|
void |
assertionCoreSet(AtomicRole atomicRole,
Node nodeFrom,
Node nodeTo)
|
void |
assertionCoreSet(Concept concept,
Node node)
|
void |
assertionRemoved(AtomicRole atomicRole,
Node nodeFrom,
Node nodeTo,
boolean isCore)
|
void |
assertionRemoved(Concept concept,
Node node,
boolean isCore)
|
void |
clear()
|
void |
computeBlocking(boolean finalChance)
|
void |
computePreBlocking()
|
void |
dlClauseBodyCompiled(java.util.List<DLClauseEvaluator.Worker> workers,
DLClause dlClause,
java.util.List<Variable> variables,
java.lang.Object[] valuesBuffer,
boolean[] coreVariables)
|
protected java.util.Map<java.util.Set<Concept>,java.util.Map<Concept,AnywhereValidatedBlocking2.BlockingViolationType>> |
getBlockedParentViolations(java.util.Set<java.util.Set<Concept>> conclusions,
Node blocker,
Node blocked)
|
protected java.util.Map<java.util.Set<Concept>,java.util.Map<Concept,AnywhereValidatedBlocking2.BlockingViolationType>> |
getBlockerViolations(java.util.Set<java.util.Set<Concept>> conclusions,
Node blocker,
Node blocked)
|
protected Node |
getValidBlocker(Node blocked)
|
protected boolean |
hasAtLeastNSuccessors(Node blocker,
int n,
Role r,
LiteralConcept filler)
|
void |
initialize(Tableau tableau)
|
boolean |
isExact()
|
protected boolean |
isInLabel(LiteralConcept c,
Node node)
|
protected boolean |
isInLabelFromNodeToParent(Role r,
Node node)
|
protected boolean |
isInLabelFromParentToNode(Role r,
Node node)
|
boolean |
isPermanentAssertion(Concept concept,
Node node)
|
void |
modelFound()
|
void |
nodeDestroyed(Node node)
|
void |
nodeInitialized(Node node)
|
void |
nodeStatusChanged(Node node)
|
protected void |
updateNodeChange(Node node)
|
void |
validateBlocks()
|
protected void |
validationInfoChanged(Node node)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
m_directBlockingChecker
protected final DirectBlockingChecker m_directBlockingChecker
m_currentBlockersCache
protected final org.semanticweb.HermiT.blocking.ValidatedBlockersCache m_currentBlockersCache
m_blockingSignatureCache
protected final BlockingSignatureCache m_blockingSignatureCache
m_tableau
protected Tableau m_tableau
m_firstChangedNode
protected Node m_firstChangedNode
m_lastValidatedUnchangedNode
protected Node m_lastValidatedUnchangedNode
m_unaryValidBlockConditions
protected final java.util.Map<AtomicConcept,java.util.Set<java.util.Set<Concept>>> m_unaryValidBlockConditions
m_nAryValidBlockConditions
protected final java.util.Map<java.util.Set<AtomicConcept>,java.util.Set<java.util.Set<Concept>>> m_nAryValidBlockConditions
m_useSingletonCore
protected boolean m_useSingletonCore
m_extensionManager
protected ExtensionManager m_extensionManager
m_ternaryTableSearchZeroOneBound
protected ExtensionTable.Retrieval m_ternaryTableSearchZeroOneBound
m_ternaryTableSearchZeroTwoBound
protected ExtensionTable.Retrieval m_ternaryTableSearchZeroTwoBound
m_auxiliaryTuple
protected final java.lang.Object[] m_auxiliaryTuple
m_hasInverses
protected final boolean m_hasInverses
m_immediatelyValidateBlocks
protected boolean m_immediatelyValidateBlocks
numDirectlyBlocked
protected int numDirectlyBlocked
numIndirectlyBlocked
protected int numIndirectlyBlocked
debuggingMode
protected final boolean debuggingMode
- See Also:
- Constant Field Values
m_violationCountBlocker
protected java.util.Map<java.lang.String,java.lang.Integer> m_violationCountBlocker
m_violationCountBlockedParent
protected java.util.Map<java.lang.String,java.lang.Integer> m_violationCountBlockedParent
m_causesCount
protected java.util.Map<AnywhereValidatedBlocking2.BlockingViolationType,java.lang.Integer> m_causesCount
one
protected int one
two
protected int two
three
protected int three
four
protected int four
five
protected int five
six
protected int six
AnywhereValidatedBlocking2
public AnywhereValidatedBlocking2(DirectBlockingChecker directBlockingChecker,
BlockingSignatureCache blockingSignatureCache,
java.util.Map<AtomicConcept,java.util.Set<java.util.Set<Concept>>> unaryValidBlockConditions,
java.util.Map<java.util.Set<AtomicConcept>,java.util.Set<java.util.Set<Concept>>> nAryValidBlockConditions,
boolean hasInverses,
boolean useSingletonCore)
initialize
public void initialize(Tableau tableau)
- Specified by:
initialize in interface BlockingStrategy
clear
public void clear()
- Specified by:
clear in interface BlockingStrategy
computeBlocking
public void computeBlocking(boolean finalChance)
- Specified by:
computeBlocking in interface BlockingStrategy
computePreBlocking
public void computePreBlocking()
validateBlocks
public void validateBlocks()
getValidBlocker
protected Node getValidBlocker(Node blocked)
getBlockedParentViolations
protected java.util.Map<java.util.Set<Concept>,java.util.Map<Concept,AnywhereValidatedBlocking2.BlockingViolationType>> getBlockedParentViolations(java.util.Set<java.util.Set<Concept>> conclusions,
Node blocker,
Node blocked)
getBlockerViolations
protected java.util.Map<java.util.Set<Concept>,java.util.Map<Concept,AnywhereValidatedBlocking2.BlockingViolationType>> getBlockerViolations(java.util.Set<java.util.Set<Concept>> conclusions,
Node blocker,
Node blocked)
hasAtLeastNSuccessors
protected boolean hasAtLeastNSuccessors(Node blocker,
int n,
Role r,
LiteralConcept filler)
isInLabelFromParentToNode
protected boolean isInLabelFromParentToNode(Role r,
Node node)
isInLabelFromNodeToParent
protected boolean isInLabelFromNodeToParent(Role r,
Node node)
isInLabel
protected boolean isInLabel(LiteralConcept c,
Node node)
isPermanentAssertion
public boolean isPermanentAssertion(Concept concept,
Node node)
- Specified by:
isPermanentAssertion in interface BlockingStrategy
validationInfoChanged
protected void validationInfoChanged(Node node)
assertionAdded
public void assertionAdded(Concept concept,
Node node,
boolean isCore)
- Specified by:
assertionAdded in interface BlockingStrategy
assertionCoreSet
public void assertionCoreSet(Concept concept,
Node node)
- Specified by:
assertionCoreSet in interface BlockingStrategy
assertionRemoved
public void assertionRemoved(Concept concept,
Node node,
boolean isCore)
- Specified by:
assertionRemoved in interface BlockingStrategy
assertionAdded
public void assertionAdded(AtomicRole atomicRole,
Node nodeFrom,
Node nodeTo,
boolean isCore)
- Specified by:
assertionAdded in interface BlockingStrategy
assertionCoreSet
public void assertionCoreSet(AtomicRole atomicRole,
Node nodeFrom,
Node nodeTo)
- Specified by:
assertionCoreSet in interface BlockingStrategy
assertionRemoved
public void assertionRemoved(AtomicRole atomicRole,
Node nodeFrom,
Node nodeTo,
boolean isCore)
- Specified by:
assertionRemoved in interface BlockingStrategy
nodeStatusChanged
public void nodeStatusChanged(Node node)
- Specified by:
nodeStatusChanged in interface BlockingStrategy
updateNodeChange
protected final void updateNodeChange(Node node)
nodeInitialized
public void nodeInitialized(Node node)
- Specified by:
nodeInitialized in interface BlockingStrategy
nodeDestroyed
public void nodeDestroyed(Node node)
- Specified by:
nodeDestroyed in interface BlockingStrategy
modelFound
public void modelFound()
- Specified by:
modelFound in interface BlockingStrategy
isExact
public boolean isExact()
- Specified by:
isExact in interface BlockingStrategy
dlClauseBodyCompiled
public void dlClauseBodyCompiled(java.util.List<DLClauseEvaluator.Worker> workers,
DLClause dlClause,
java.util.List<Variable> variables,
java.lang.Object[] valuesBuffer,
boolean[] coreVariables)
- Specified by:
dlClauseBodyCompiled in interface BlockingStrategy
addViolation
protected void addViolation(AnywhereValidatedBlocking2.BlockingViolation violation,
java.util.Map<java.lang.String,java.lang.Integer> countMap)