public class ConsistencyChecking extends ReasonerComputation<SaturationJob<IndexedClassEntity>,ClassExpressionSaturationFactory<SaturationJob<IndexedClassEntity>>>
ReasonerComputation for checking consistency of the ontology. This
is done by checking consistency of owl:Thing and of all individuals
occurring in the ontology.progressMonitor, todo| Constructor and Description |
|---|
ConsistencyChecking(Collection<IndexedClassEntity> inputEntities,
org.semanticweb.elk.reasoner.consistency.ConsistencyChecking.ConsistencyMonitor consistencyMonitor,
SaturationState saturationState,
ComputationExecutor executor,
int maxWorkers,
ProgressMonitor progressMonitor)
Constructing the object for checking if all given entities are
consistent.
|
ConsistencyChecking(ComputationExecutor executor,
int maxWorkers,
ProgressMonitor progressMonitor,
OntologyIndex ontologyIndex,
SaturationState saturationState)
Constructing the object for checking if the given ontology is consistent
|
| Modifier and Type | Method and Description |
|---|---|
SaturationStatistics |
getRuleAndConclusionStatistics() |
static Collection<IndexedClassEntity> |
getTestEntities(OntologyIndex ontologyIndex) |
boolean |
isInconsistent() |
void |
printStatistics()
Print statistics about consistency checking
|
void |
process()
Process the given input concurrently using the provided input processor.
|
finish, getInputProcessorFactory, setInterrupt, start, submit, waitWorkersisInterruptedpublic ConsistencyChecking(Collection<IndexedClassEntity> inputEntities, org.semanticweb.elk.reasoner.consistency.ConsistencyChecking.ConsistencyMonitor consistencyMonitor, SaturationState saturationState, ComputationExecutor executor, int maxWorkers, ProgressMonitor progressMonitor)
inputEntities - the entities to check for consistencyconsistencyMonitor - the monitor for the consistency statusexecutor - the executor service used for running the tasks by the
reasonermaxWorkers - the maximum number of workers that can be usedprogressMonitor - the monitor for reporting the progress of the computationpublic ConsistencyChecking(ComputationExecutor executor, int maxWorkers, ProgressMonitor progressMonitor, OntologyIndex ontologyIndex, SaturationState saturationState)
executor - the executor service used for running the tasks by the
reasonermaxWorkers - the maximum number of workers that can be usedprogressMonitor - the monitor for reporting the progress of the computationontologyIndex - the indexed representation of the ontologypublic SaturationStatistics getRuleAndConclusionStatistics()
public static Collection<IndexedClassEntity> getTestEntities(OntologyIndex ontologyIndex)
ontologyIndex - the representation of the ontologypublic void process()
ReasonerComputationprocess in class ReasonerComputation<SaturationJob<IndexedClassEntity>,ClassExpressionSaturationFactory<SaturationJob<IndexedClassEntity>>>public boolean isInconsistent()
true if the ontology is inconsistent; should be called
after the consistency checking is performed using the method
process()public void printStatistics()
Copyright © 2011-2015 Department of Computer Science, University of Oxford. All Rights Reserved.