public class ClassTaxonomyComputationFactory extends SimpleInterrupter implements InputProcessorFactory<Collection<IndexedClass>,ClassTaxonomyComputationFactory.Engine>
Taxonomy. The
jobs are submitted using the method ClassTaxonomyComputationFactory.Engine.submit(Collection), which
require the computation of the Node for the input Collection
of IndexedClass.| Modifier and Type | Class and Description |
|---|---|
class |
ClassTaxonomyComputationFactory.Engine |
| Constructor and Description |
|---|
ClassTaxonomyComputationFactory(SaturationState saturationState,
int maxWorkers)
Create a new class taxonomy engine for the input ontology index.
|
ClassTaxonomyComputationFactory(SaturationState saturationState,
int maxWorkers,
UpdateableTaxonomy<ElkClass> partialTaxonomy)
Create a shared engine for the input ontology index and a partially
pre-computed taxonomy object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
finish() |
ClassTaxonomyComputationFactory.Engine |
getEngine() |
SaturationStatistics |
getRuleAndConclusionStatistics() |
UpdateableTaxonomy<ElkClass> |
getTaxonomy()
Returns the taxonomy constructed by this engine
|
void |
printStatistics()
Print statistics about taxonomy construction
|
void |
setInterrupt(boolean flag) |
isInterruptedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisInterruptedpublic ClassTaxonomyComputationFactory(SaturationState saturationState, int maxWorkers, UpdateableTaxonomy<ElkClass> partialTaxonomy)
saturationState - the saturation state of the reasonermaxWorkers - the maximum number of workers that can use this factorypartialTaxonomy - the (partially pre-computed) class taxonomy object to store
results inpublic ClassTaxonomyComputationFactory(SaturationState saturationState, int maxWorkers)
saturationState - the saturation state of the reasonermaxWorkers - the maximum number of workers that can use this factorypublic UpdateableTaxonomy<ElkClass> getTaxonomy()
public ClassTaxonomyComputationFactory.Engine getEngine()
getEngine in interface InputProcessorFactory<Collection<IndexedClass>,ClassTaxonomyComputationFactory.Engine>public void setInterrupt(boolean flag)
setInterrupt in interface InterruptersetInterrupt in class SimpleInterrupterpublic void finish()
finish in interface InputProcessorFactory<Collection<IndexedClass>,ClassTaxonomyComputationFactory.Engine>public void printStatistics()
public SaturationStatistics getRuleAndConclusionStatistics()
Copyright © 2011-2015 Department of Computer Science, University of Oxford. All Rights Reserved.