Package org.mindswap.pellet.taxonomy.printer

Examples of org.mindswap.pellet.taxonomy.printer.ClassTreePrinter


    startTask( "classification" );
    kb.classify();
    finishTask( "classification" );

    TaxonomyPrinter<ATermAppl> printer = new ClassTreePrinter();
    printer.print( kb.getTaxonomy() );
  }
View Full Code Here


        builder.classify();
    }

    Taxonomy<ATermAppl> taxonomy = builder.getTaxonomy();

    ClassTreePrinter printer = new ClassTreePrinter();
    printer.print( taxonomy );
   
    publicTaxonomy = taxonomy;
  }
View Full Code Here

   * Print the class hierarchy on the standard output.
   */
  public void printClassTree() {
    classify();

    new ClassTreePrinter().print( builder.getTaxonomy() );
  }
View Full Code Here

  }

  public void printClassTree(PrintWriter out) {
    classify();

    new ClassTreePrinter().print( builder.getTaxonomy(), out );
  }
View Full Code Here

   
    builder = new POTaxonomyBuilder( kb, new PartClassesComparator( kb, p ) );
    builder.classify();
   
    Taxonomy<ATermAppl> taxonomy = builder.getTaxonomy();
    ClassTreePrinter printer = new ClassTreePrinter();
    printer.print( taxonomy );
  }
View Full Code Here

   * Print the class hierarchy on the standard output.
   */
  public void printClassTree() {
    classify();

    new ClassTreePrinter().print( builder.getTaxonomy() );
  }
View Full Code Here

  }

  public void printClassTree(PrintWriter out) {
    classify();

    new ClassTreePrinter().print( builder.getTaxonomy(), out );
  }
View Full Code Here

   
    builder = new POTaxonomyBuilder( kb, new PartClassesComparator( kb, p ) );
    builder.classify();
   
    Taxonomy<ATermAppl> taxonomy = builder.getTaxonomy();
    ClassTreePrinter printer = new ClassTreePrinter();
    printer.print( taxonomy );
  }
View Full Code Here

    moduleReasoner.getKB().classify();

    if( log.isLoggable( Level.FINE ) ) {
      log.fine( "Classified module:" );

      new ClassTreePrinter().print( moduleReasoner.getKB().getTaxonomy(), new PrintWriter( System.err ) );
    }

    Taxonomy<OWLClass> moduleTaxonomy = buildClassHierarchy( moduleReasoner );

    Set<OWLClass> affectedCls = new HashSet<OWLClass>();
View Full Code Here

   
    startTask( "realization" );
    kb.realize();
    finishTask( "realization" );

    TaxonomyPrinter<ATermAppl> printer = new ClassTreePrinter();
    printer.print( kb.getTaxonomy() );
  }
View Full Code Here

TOP

Related Classes of org.mindswap.pellet.taxonomy.printer.ClassTreePrinter

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.