Package openllet.core.taxonomy
Class CDOptimizedTaxonomyBuilder
- java.lang.Object
-
- openllet.core.taxonomy.CDOptimizedTaxonomyBuilder
-
- All Implemented Interfaces:
TaxonomyBuilder
- Direct Known Subclasses:
RuleBasedELClassifier,SimplifiedELClassifier
public class CDOptimizedTaxonomyBuilder extends java.lang.Object implements TaxonomyBuilder
Title: Completely Defined Optimized Taxonomy Builder
Description: Taxonomy Builder implementation optimized for completely defined concepts
Copyright: Copyright (c) 2007
Company: Clark & Parsia, LLC.
- Author:
- Mike Smith
-
-
Constructor Summary
Constructors Constructor Description CDOptimizedTaxonomyBuilder(KnowledgeBase kb)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanclassify()Classify the KB.voidclassify(openllet.aterm.ATermAppl c)Add a new concept to the already classified taxonomyTaxonomy<openllet.aterm.ATermAppl>getTaxonomy()java.util.Map<openllet.aterm.ATermAppl,java.util.Set<openllet.aterm.ATermAppl>>getToldDisjoints()Taxonomy<openllet.aterm.ATermAppl>getToldTaxonomy()booleanrealize()Realize the KB by finding the instances of each class.voidrealize(openllet.aterm.ATermAppl x)voidsetProgressMonitor(ProgressMonitor monitor)
-
-
-
Constructor Detail
-
CDOptimizedTaxonomyBuilder
public CDOptimizedTaxonomyBuilder(KnowledgeBase kb)
-
-
Method Detail
-
setProgressMonitor
public void setProgressMonitor(ProgressMonitor monitor)
- Specified by:
setProgressMonitorin interfaceTaxonomyBuilder
-
getTaxonomy
public Taxonomy<openllet.aterm.ATermAppl> getTaxonomy()
- Specified by:
getTaxonomyin interfaceTaxonomyBuilder
-
getToldTaxonomy
public Taxonomy<openllet.aterm.ATermAppl> getToldTaxonomy()
- Specified by:
getToldTaxonomyin interfaceTaxonomyBuilder
-
getToldDisjoints
public java.util.Map<openllet.aterm.ATermAppl,java.util.Set<openllet.aterm.ATermAppl>> getToldDisjoints()
- Specified by:
getToldDisjointsin interfaceTaxonomyBuilder
-
classify
public boolean classify()
Classify the KB.- Specified by:
classifyin interfaceTaxonomyBuilder- Returns:
- true if classification success
-
classify
public void classify(openllet.aterm.ATermAppl c)
Add a new concept to the already classified taxonomy- Specified by:
classifyin interfaceTaxonomyBuilder
-
realize
public boolean realize()
Realize the KB by finding the instances of each class.- Specified by:
realizein interfaceTaxonomyBuilder- Returns:
- boolean False if the progress monitor is canceled
-
realize
public void realize(openllet.aterm.ATermAppl x)
- Specified by:
realizein interfaceTaxonomyBuilder
-
-