@Test public void testReducedNamedOnly() throws OWLOntologyCreationException, IOException { OWLReasonerFactory reasonerFactory = new org.semanticweb.elk.owlapi.ElkReasonerFactory(); OWLOntology ontologyA = loadOntology("/reduce-named-only-test.ofn"); Map<String, String> optionsA = new HashMap<String, String>(); optionsA.put("named-classes-only", "true"); ReduceOperation.reduce(ontologyA, reasonerFactory, optionsA); assertIdentical("/reduce-named-only-test-named-only-true-reduced.ofn", ontologyA); OWLOntology ontologyB = loadOntology("/reduce-named-only-test.ofn"); Map<String, String> optionsB = new HashMap<String, String>(); optionsB.put("named-classes-only", "false"); ReduceOperation.reduce(ontologyB, reasonerFactory, optionsB); assertIdentical("/reduce-named-only-test-named-only-false-reduced.ofn", ontologyB); }
public static void reduce(OWLOntology ontology, OWLReasonerFactory reasonerFactory) throws OWLOntologyCreationException { reduce(ontology, reasonerFactory, getDefaultOptions()); }
ReduceOperation { public static void reduce(OWLOntology ontology, OWLReasonerFactory reasonerFactory) throws OWLOntologyCreationException { reduce(ontology, reasonerFactory, getDefaultOptions()); } }
ReduceOperation { public static void reduce(OWLOntology ontology, OWLReasonerFactory reasonerFactory) throws OWLOntologyCreationException { reduce(ontology, reasonerFactory, getDefaultOptions()); }  }
ReduceOperation { public static void reduce(OWLOntology ontology, OWLReasonerFactory reasonerFactory) throws OWLOntologyCreationException { reduce(ontology, reasonerFactory, getDefaultOptions()); }  static Map<String, String> getDefaultOptions(); static void reduce(OWLOntology ontology, OWLReasonerFactory reasonerFactory); static void reduce(
      OWLOntology ontology, OWLReasonerFactory reasonerFactory, Map<String, String> options); }
ReduceOperation { public static void reduce(OWLOntology ontology, OWLReasonerFactory reasonerFactory) throws OWLOntologyCreationException { reduce(ontology, reasonerFactory, getDefaultOptions()); }  static Map<String, String> getDefaultOptions(); static void reduce(OWLOntology ontology, OWLReasonerFactory reasonerFactory); static void reduce(
      OWLOntology ontology, OWLReasonerFactory reasonerFactory, Map<String, String> options);  }