public final class Tableau extends Object implements Serializable
| Constructor and Description |
|---|
Tableau(InterruptFlag interruptFlag,
TableauMonitor tableauMonitor,
ExistentialExpansionStrategy existentialsExpansionStrategy,
boolean useDisjunctionLearning,
DLOntology permanentDLOntology,
DLOntology additionalDLOntology,
Map<String,Object> parameters) |
| Modifier and Type | Method and Description |
|---|---|
void |
addGroundDisjunction(GroundDisjunction groundDisjunction) |
void |
clear()
Clear tableau.
|
void |
clearAdditionalDLOntology()
Clear additional ontology.
|
Node |
createNewConcreteNode(DependencySet dependencySet,
Node parent)
Create a new concrete node for datatypes.
|
Node |
createNewGraphNode(Node parent,
DependencySet dependencySet)
Create a new node graph node for description graphs
|
Node |
createNewNamedNode(DependencySet dependencySet)
Create a new node that represents an individual named in the input ontology (thus, keys have to be applied to it)
|
Node |
createNewNINode(DependencySet dependencySet)
Create a new node that represents a nominal, but one that is not named in the input ontology (thus, keys are not applicable)
|
Node |
createNewRootConstantNode(DependencySet dependencySet)
Create a new root constant node for datatypes.
|
Node |
createNewTreeNode(DependencySet dependencySet,
Node parent)
Create a new tree node.
|
DLOntology |
getAdditionalDLOntology() |
HyperresolutionManager |
getAdditionalHyperresolutionManager() |
BranchingPoint |
getCurrentBranchingPoint() |
int |
getCurrentBranchingPointLevel() |
DependencySetFactory |
getDependencySetFactory() |
DescriptionGraphManager |
getDescriptionGraphManager() |
ExistentialExpansionManager |
getExistentialExpansionManager() |
ExistentialExpansionStrategy |
getExistentialsExpansionStrategy() |
ExtensionManager |
getExtensionManager() |
Node |
getFirstTableauNode() |
GroundDisjunction |
getFirstUnprocessedGroundDisjunction() |
InterruptFlag |
getInterruptFlag() |
Node |
getLastTableauNode() |
MergingManager |
getMergingManager() |
Node |
getNode(int nodeID) |
org.semanticweb.HermiT.tableau.NominalIntroductionManager |
getNominalIntroductionManager() |
int |
getNumberOfAllocatedNodes() |
int |
getNumberOfMergedOrPrunedNodes() |
int |
getNumberOfNodeCreations() |
int |
getNumberOfNodesInTableau() |
Map<String,Object> |
getParameters() |
DLOntology |
getPermanentDLOntology() |
HyperresolutionManager |
getPermanentHyperresolutionManager() |
TableauMonitor |
getTableauMonitor() |
boolean |
isCurrentModelDeterministic() |
boolean |
isDeterministic() |
boolean |
isSatisfiable(boolean loadPermanentABox,
boolean loadAdditionalABox,
Set<Atom> perTestPositiveFactsNoDependency,
Set<Atom> perTestNegativeFactsNoDependency,
Set<Atom> perTestPositiveFactsDummyDependency,
Set<Atom> perTestNegativeFactsDummyDependency,
Map<Individual,Node> nodesForIndividuals,
ReasoningTaskDescription reasoningTaskDescription) |
boolean |
isSatisfiable(boolean loadPermanentABox,
boolean loadAdditionalABox,
Set<Atom> perTestPositiveFactsNoDependency,
Set<Atom> perTestNegativeFactsNoDependency,
Set<Atom> perTestPositiveFactsDummyDependency,
Set<Atom> perTestNegativeFactsDummyDependency,
Map<Term,Node> termsToNodes,
Map<Individual,Node> nodesForIndividuals,
ReasoningTaskDescription reasoningTaskDescription) |
boolean |
isSatisfiable(boolean loadAdditionalABox,
Set<Atom> perTestPositiveFactsNoDependency,
Set<Atom> perTestNegativeFactsNoDependency,
Set<Atom> perTestPositiveFactsDummyDependency,
Set<Atom> perTestNegativeFactsDummyDependency,
Map<Individual,Node> nodesForIndividuals,
ReasoningTaskDescription reasoningTaskDescription) |
void |
mergeNode(Node node,
Node mergeInto,
DependencySet dependencySet)
Merges node into mergeInto.
|
void |
pruneNode(Node node) |
void |
pushBranchingPoint(BranchingPoint branchingPoint)
Add a branching point in case we need to backtrack to this state.
|
void |
putExistentialConceptsBuffer(List<ExistentialConcept> buffer) |
void |
setAdditionalDLOntology(DLOntology additionalDLOntology) |
boolean |
supportsAdditionalDLOntology(DLOntology additionalDLOntology) |
public Tableau(InterruptFlag interruptFlag, TableauMonitor tableauMonitor, ExistentialExpansionStrategy existentialsExpansionStrategy, boolean useDisjunctionLearning, DLOntology permanentDLOntology, DLOntology additionalDLOntology, Map<String,Object> parameters)
interruptFlag - interruptFlagtableauMonitor - tableauMonitorexistentialsExpansionStrategy - existentialsExpansionStrategyuseDisjunctionLearning - useDisjunctionLearningpermanentDLOntology - permanentDLOntologyadditionalDLOntology - additionalDLOntologyparameters - parameterspublic InterruptFlag getInterruptFlag()
public DLOntology getPermanentDLOntology()
public DLOntology getAdditionalDLOntology()
public TableauMonitor getTableauMonitor()
public ExistentialExpansionStrategy getExistentialsExpansionStrategy()
public boolean isDeterministic()
public DependencySetFactory getDependencySetFactory()
public ExtensionManager getExtensionManager()
public HyperresolutionManager getPermanentHyperresolutionManager()
public HyperresolutionManager getAdditionalHyperresolutionManager()
public MergingManager getMergingManager()
public ExistentialExpansionManager getExistentialExpansionManager()
public org.semanticweb.HermiT.tableau.NominalIntroductionManager getNominalIntroductionManager()
public DescriptionGraphManager getDescriptionGraphManager()
public void clear()
public boolean supportsAdditionalDLOntology(DLOntology additionalDLOntology)
additionalDLOntology - additionalDLOntologypublic void setAdditionalDLOntology(DLOntology additionalDLOntology)
additionalDLOntology - additionalDLOntologypublic void clearAdditionalDLOntology()
public boolean isSatisfiable(boolean loadAdditionalABox,
Set<Atom> perTestPositiveFactsNoDependency,
Set<Atom> perTestNegativeFactsNoDependency,
Set<Atom> perTestPositiveFactsDummyDependency,
Set<Atom> perTestNegativeFactsDummyDependency,
Map<Individual,Node> nodesForIndividuals,
ReasoningTaskDescription reasoningTaskDescription)
loadAdditionalABox - loadAdditionalABoxperTestPositiveFactsNoDependency - perTestPositiveFactsNoDependencyperTestNegativeFactsNoDependency - perTestNegativeFactsNoDependencyperTestPositiveFactsDummyDependency - perTestPositiveFactsDummyDependencyperTestNegativeFactsDummyDependency - perTestNegativeFactsDummyDependencynodesForIndividuals - nodesForIndividualsreasoningTaskDescription - reasoningTaskDescriptionpublic boolean isSatisfiable(boolean loadPermanentABox,
boolean loadAdditionalABox,
Set<Atom> perTestPositiveFactsNoDependency,
Set<Atom> perTestNegativeFactsNoDependency,
Set<Atom> perTestPositiveFactsDummyDependency,
Set<Atom> perTestNegativeFactsDummyDependency,
Map<Individual,Node> nodesForIndividuals,
ReasoningTaskDescription reasoningTaskDescription)
loadPermanentABox - loadPermanentABoxloadAdditionalABox - loadAdditionalABoxperTestPositiveFactsNoDependency - perTestPositiveFactsNoDependencyperTestNegativeFactsNoDependency - perTestNegativeFactsNoDependencyperTestPositiveFactsDummyDependency - perTestPositiveFactsDummyDependencyperTestNegativeFactsDummyDependency - perTestNegativeFactsDummyDependencynodesForIndividuals - nodesForIndividualsreasoningTaskDescription - reasoningTaskDescriptionpublic boolean isSatisfiable(boolean loadPermanentABox,
boolean loadAdditionalABox,
Set<Atom> perTestPositiveFactsNoDependency,
Set<Atom> perTestNegativeFactsNoDependency,
Set<Atom> perTestPositiveFactsDummyDependency,
Set<Atom> perTestNegativeFactsDummyDependency,
Map<Term,Node> termsToNodes,
Map<Individual,Node> nodesForIndividuals,
ReasoningTaskDescription reasoningTaskDescription)
loadPermanentABox - loadPermanentABoxloadAdditionalABox - loadAdditionalABoxperTestPositiveFactsNoDependency - perTestPositiveFactsNoDependencyperTestNegativeFactsNoDependency - perTestNegativeFactsNoDependencyperTestPositiveFactsDummyDependency - perTestPositiveFactsDummyDependencyperTestNegativeFactsDummyDependency - perTestNegativeFactsDummyDependencytermsToNodes - termsToNodesnodesForIndividuals - nodesForIndividualsreasoningTaskDescription - reasoningTaskDescriptionpublic boolean isCurrentModelDeterministic()
public int getCurrentBranchingPointLevel()
public BranchingPoint getCurrentBranchingPoint()
public void addGroundDisjunction(GroundDisjunction groundDisjunction)
groundDisjunction - groundDisjunctionpublic GroundDisjunction getFirstUnprocessedGroundDisjunction()
public void pushBranchingPoint(BranchingPoint branchingPoint)
branchingPoint - branchingPointpublic Node createNewNamedNode(DependencySet dependencySet)
dependencySet - the dependency set for the nodepublic Node createNewNINode(DependencySet dependencySet)
dependencySet - the dependency set for the nodepublic Node createNewTreeNode(DependencySet dependencySet, Node parent)
dependencySet - the dependency set for the nodeparent - the parent of the node that is to be createdpublic Node createNewConcreteNode(DependencySet dependencySet, Node parent)
dependencySet - the dependency set for the nodeparent - the parent of the node that is to be createdpublic Node createNewRootConstantNode(DependencySet dependencySet)
dependencySet - the dependency set for the nodepublic Node createNewGraphNode(Node parent, DependencySet dependencySet)
parent - the parent of the node that is to be created (may be null)dependencySet - the dependency set for the nodepublic void mergeNode(Node node, Node mergeInto, DependencySet dependencySet)
node - the node that is to be mergedmergeInto - the node we merge intodependencySet - dependency setpublic void pruneNode(Node node)
node - nodepublic int getNumberOfNodeCreations()
public Node getFirstTableauNode()
public Node getLastTableauNode()
public int getNumberOfAllocatedNodes()
public int getNumberOfNodesInTableau()
public int getNumberOfMergedOrPrunedNodes()
public Node getNode(int nodeID)
nodeID - nodeIDpublic void putExistentialConceptsBuffer(List<ExistentialConcept> buffer)
buffer - bufferCopyright © 2017. All Rights Reserved.