|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.semanticweb.elk.reasoner.taxonomy.ClassTaxonomyComputationFactory
public class ClassTaxonomyComputationFactory
The factory for engines that concurrently construct a 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.
| Nested Class Summary | |
|---|---|
class |
ClassTaxonomyComputationFactory.Engine
|
| Constructor Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
void |
finish()
|
ClassTaxonomyComputationFactory.Engine |
getEngine()
|
SaturationStatistics |
getRuleAndConclusionStatistics()
|
UpdateableTaxonomy<ElkClass> |
getTaxonomy()
Returns the taxonomy constructed by this engine |
void |
printStatistics()
Print statistics about taxonomy construction |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public 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 in
public ClassTaxonomyComputationFactory(SaturationState saturationState,
int maxWorkers)
saturationState - the saturation state of the reasonermaxWorkers - the maximum number of workers that can use this factory| Method Detail |
|---|
public UpdateableTaxonomy<ElkClass> getTaxonomy()
public ClassTaxonomyComputationFactory.Engine getEngine()
getEngine in interface InputProcessorFactory<Collection<IndexedClass>,ClassTaxonomyComputationFactory.Engine>public void finish()
finish in interface InputProcessorFactory<Collection<IndexedClass>,ClassTaxonomyComputationFactory.Engine>public void printStatistics()
public SaturationStatistics getRuleAndConclusionStatistics()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||