Class 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 Detail

      • CDOptimizedTaxonomyBuilder

        public CDOptimizedTaxonomyBuilder​(KnowledgeBase kb)
    • Method Detail

      • getToldDisjoints

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

        public boolean classify()
        Classify the KB.
        Specified by:
        classify in interface TaxonomyBuilder
        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 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
      • realize

        public void realize​(openllet.aterm.ATermAppl x)
        Specified by:
        realize in interface TaxonomyBuilder