Package openllet.core.rules
Class ContinuousRulesStrategy
- java.lang.Object
-
- openllet.core.tableau.completion.CompletionStrategy
-
- openllet.core.tableau.completion.SROIQStrategy
-
- openllet.core.rules.ContinuousRulesStrategy
-
public class ContinuousRulesStrategy extends SROIQStrategy
-
-
Field Summary
-
Fields inherited from class openllet.core.tableau.completion.CompletionStrategy
_logger
-
-
Constructor Summary
Constructors Constructor Description ContinuousRulesStrategy(ABox abox)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EdgeaddEdge(Individual subj, Role pred, Node obj, DependencySet ds)voidaddPartialBinding(PartialBinding binding)voidaddType(Node node, openllet.aterm.ATermAppl c, DependencySet ds)voidaddUnsafeRule(Rule rule, java.util.Set<openllet.aterm.ATermAppl> explain)java.util.Collection<PartialBinding>applyRete()voidapplyRuleBindings()voidcomplete(Expressivity expr)apply all the tableau rules to the designated ABoxvoidmergeTo(Node y, Node z, DependencySet ds)Merge _node y into z.voidrestore(Branch branch)voidrestoreLocal(Individual ind, Branch branch)booleansetDifferent(Node y, Node z, DependencySet ds)-
Methods inherited from class openllet.core.tableau.completion.CompletionStrategy
addBranch, applyDomainRange, applyFunctionality, applyPropertyRestrictions, applyPropertyRestrictions, applyUniversalRestrictions, checkReflexivitySymmetry, checkTimer, createFreshIndividual, getABox, getBlocking, getInitializeIterator, getTBox, initialize, mergeAll, printBlocked, toString
-
-
-
-
Constructor Detail
-
ContinuousRulesStrategy
public ContinuousRulesStrategy(ABox abox)
-
-
Method Detail
-
addUnsafeRule
public void addUnsafeRule(Rule rule, java.util.Set<openllet.aterm.ATermAppl> explain)
-
addPartialBinding
public void addPartialBinding(PartialBinding binding)
-
addEdge
public Edge addEdge(Individual subj, Role pred, Node obj, DependencySet ds)
- Overrides:
addEdgein classCompletionStrategy
-
addType
public void addType(Node node, openllet.aterm.ATermAppl c, DependencySet ds)
- Overrides:
addTypein classCompletionStrategy
-
setDifferent
public boolean setDifferent(Node y, Node z, DependencySet ds)
- Overrides:
setDifferentin classCompletionStrategy
-
applyRete
public java.util.Collection<PartialBinding> applyRete()
-
applyRuleBindings
public void applyRuleBindings()
-
complete
public void complete(Expressivity expr)
Description copied from class:CompletionStrategyapply all the tableau rules to the designated ABox- Overrides:
completein classSROIQStrategy- Parameters:
expr- of the tableau
-
mergeTo
public void mergeTo(Node y, Node z, DependencySet ds)
Description copied from class:CompletionStrategyMerge _node y into z. Node y and all its descendants will be pruned from the completion graph.- Overrides:
mergeToin classCompletionStrategy- Parameters:
y- Node being prunedz- Node that is being merged intods- Dependency of this merge operation
-
restore
public void restore(Branch branch)
- Overrides:
restorein classCompletionStrategy
-
restoreLocal
public void restoreLocal(Individual ind, Branch branch)
- Overrides:
restoreLocalin classCompletionStrategy
-
-