Package com.clarkparsia.modularity

Examples of com.clarkparsia.modularity.IncrementalClassifier.dispose()


          OWLNamedIndividual ind1 = Individual(ns + "ind1");
          classifier.getTypes(ind1, true);
          testOWL2Reasoner(ns, classifier);
        }
        finally {
          classifier.dispose();
        }       
  }
 
  private void testOWL2Reasoner( String ns, OWLReasoner reasoner ) {
    OWLClass C = Class( ns + "C" );
View Full Code Here


          classifier.getTypes(ind1, true);
         
          testFamily( ns, classifier );
        }
        finally {
        classifier.dispose();
        }
  }
 
  private void testFamily( String ns, OWLReasoner reasoner ) {
    OWLObjectProperty hasBrother = ObjectProperty( ns + "hasBrother" );
View Full Code Here

    modular.classify();
    unified.getKB().classify();
   
    comparisonMethod.compare( unified, modular );
   
    modular.dispose();
  }
 
  private static void runComparisonUpdateTest(OWLOntology ontology, ModuleExtractor modExtractor,
      Collection<OWLAxiom> additions, Collection<OWLAxiom> deletions, ReasonerComparisonMethod comparisonMethod) {
    PelletReasoner unified = PelletReasonerFactory.getInstance().createNonBufferingReasoner( ontology );
View Full Code Here

   
    modular.timers.print();

    comparisonMethod.compare( unified, modular );
   
    modular.dispose();
  }
 
  public static <T> Set<T> set(T... elements) {
    switch ( elements.length ) {
    case 0:
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.