org.mindswap.pellet.taxonomy
Class CDOptimizedTaxonomyBuilder

java.lang.Object
  extended by org.mindswap.pellet.taxonomy.CDOptimizedTaxonomyBuilder
All Implemented Interfaces:
TaxonomyBuilder
Direct Known Subclasses:
ELClassifier, RuleBasedELClassifier, SimplifiedELClassifier

public class CDOptimizedTaxonomyBuilder
extends java.lang.Object
implements TaxonomyBuilder

Title: CD 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
CDOptimizedTaxonomyBuilder()
           
 
Method Summary
 boolean classify()
          Classify the KB.
 void classify(aterm.ATermAppl c)
          Add a new concept to the already classified taxonomy
 Taxonomy<aterm.ATermAppl> getTaxonomy()
           
 java.util.Map<aterm.ATermAppl,java.util.Set<aterm.ATermAppl>> getToldDisjoints()
           
 Taxonomy<aterm.ATermAppl> getToldTaxonomy()
           
 void printMemory()
           
 void printStats()
           
 boolean realize()
          Realize the KB by finding the instances of each class.
 void setKB(KnowledgeBase kb)
           
 void setProgressMonitor(ProgressMonitor monitor)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CDOptimizedTaxonomyBuilder

public CDOptimizedTaxonomyBuilder()
Method Detail

setKB

public void setKB(KnowledgeBase kb)
Specified by:
setKB in interface TaxonomyBuilder

setProgressMonitor

public void setProgressMonitor(ProgressMonitor monitor)
Specified by:
setProgressMonitor in interface TaxonomyBuilder

getTaxonomy

public Taxonomy<aterm.ATermAppl> getTaxonomy()
Specified by:
getTaxonomy in interface TaxonomyBuilder

getToldTaxonomy

public Taxonomy<aterm.ATermAppl> getToldTaxonomy()
Specified by:
getToldTaxonomy in interface TaxonomyBuilder

getToldDisjoints

public java.util.Map<aterm.ATermAppl,java.util.Set<aterm.ATermAppl>> getToldDisjoints()
Specified by:
getToldDisjoints in interface TaxonomyBuilder

classify

public boolean classify()
Classify the KB.

Specified by:
classify in interface TaxonomyBuilder

classify

public void classify(aterm.ATermAppl c)
Add a new concept to the already classified taxonomy

Specified by:
classify in interface TaxonomyBuilder

realize

public boolean realize()
Realize the KB by finding the instances of each class.

Specified by:
realize in interface TaxonomyBuilder
Returns:
boolean False if the progress monitor is canceled

printStats

public void printStats()

printMemory

public void printMemory()


Copyright © 2004 Evren Sirin. All Rights Reserved.