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 boolean
classify()
Classify the KB.void
classify(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()
boolean
realize()
Realize the KB by finding the instances of each class.void
realize(openllet.aterm.ATermAppl x)
void
setProgressMonitor(ProgressMonitor monitor)
-
-
-
Constructor Detail
-
CDOptimizedTaxonomyBuilder
public CDOptimizedTaxonomyBuilder(KnowledgeBase kb)
-
-
Method Detail
-
setProgressMonitor
public void setProgressMonitor(ProgressMonitor monitor)
- Specified by:
setProgressMonitor
in interfaceTaxonomyBuilder
-
getTaxonomy
public Taxonomy<openllet.aterm.ATermAppl> getTaxonomy()
- Specified by:
getTaxonomy
in interfaceTaxonomyBuilder
-
getToldTaxonomy
public Taxonomy<openllet.aterm.ATermAppl> getToldTaxonomy()
- Specified by:
getToldTaxonomy
in interfaceTaxonomyBuilder
-
getToldDisjoints
public java.util.Map<openllet.aterm.ATermAppl,java.util.Set<openllet.aterm.ATermAppl>> getToldDisjoints()
- Specified by:
getToldDisjoints
in interfaceTaxonomyBuilder
-
classify
public boolean classify()
Classify the KB.- Specified by:
classify
in 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:
classify
in interfaceTaxonomyBuilder
-
realize
public boolean realize()
Realize the KB by finding the instances of each class.- Specified by:
realize
in interfaceTaxonomyBuilder
- Returns:
- boolean False if the progress monitor is canceled
-
realize
public void realize(openllet.aterm.ATermAppl x)
- Specified by:
realize
in interfaceTaxonomyBuilder
-
-