ElkReasoner(OWLOntology ontology, boolean isBufferingMode, ElkReasonerConfiguration elkConfig) { this(ontology, isBufferingMode, elkConfig, new ReasonerFactory() .createReasoner(elkConfig.getElkConfiguration())); }
ElkReasoner(OWLOntology ontology, boolean isBufferingMode, ElkReasonerConfiguration elkConfig) { this(ontology, isBufferingMode, elkConfig, new ReasonerFactory() .createReasoner(elkConfig.getElkConfiguration())); }
ElkReasoner(OWLOntology ontology, boolean isBufferingMode, ElkReasonerConfiguration elkConfig) { this(ontology, isBufferingMode, elkConfig, new ReasonerFactory() .createReasoner(elkConfig.getElkConfiguration())); }
public static Reasoner createTestReasoner( final ReasonerInterrupter interrupter, final ReasonerConfiguration config) { return new ReasonerFactory().createReasoner(interrupter, DEFAULT_STAGE_EXECUTOR, config); }
public static Reasoner createTestReasoner( final AxiomLoader.Factory axiomLoaderFactory, final ReasonerInterrupter interrupter, final ReasonerConfiguration config) { return new ReasonerFactory().createReasoner(axiomLoaderFactory, interrupter, DEFAULT_STAGE_EXECUTOR, config); }
@SuppressWarnings("static-method") @Test public void createReasonerDefaultConfig() { Reasoner reasoner = new ReasonerFactory().createReasoner( new TestAxiomLoaderFactory(new EmptyAxiomLoader())); assertEquals(Runtime.getRuntime().availableProcessors(), reasoner.getNumberOfWorkers()); }
initReasoner(new ReasonerFactory().createReasoner(reasoner_, objectFactory_, config_)); bufferedChangesLoader_ = new OwlChangesLoaderFactory(
initReasoner(new ReasonerFactory().createReasoner(reasoner_, objectFactory_, config_)); bufferedChangesLoader_ = new OwlChangesLoaderFactory(
initReasoner(new ReasonerFactory().createReasoner(reasoner_, objectFactory_, config_)); bufferedChangesLoader_ = new OwlChangesLoaderFactory(
File output = getOutputFile(args[2]); ReasonerFactory reasoningFactory = new ReasonerFactory(); Owl2ParserFactory parserFactory = new Owl2FunctionalStyleParserFactory(); AxiomLoader.Factory loaderFactory = new Owl2StreamLoader.Factory(
ReasonerFactory reasoningFactory = new ReasonerFactory(); Owl2ParserFactory parserFactory = new Owl2FunctionalStyleParserFactory(); AxiomLoader.Factory loader = new Owl2StreamLoader.Factory(parserFactory,
ReasonerFactory reasoningFactory = new ReasonerFactory(); Owl2ParserFactory parserFactory = new Owl2FunctionalStyleParserFactory(); AxiomLoader loader = new Owl2StreamLoader(parserFactory,
@Test public void createReasonerCustomConfig() throws ConfigurationException, IOException { Reasoner reasoner = new ReasonerFactory().createReasoner( new TestAxiomLoaderFactory(new EmptyAxiomLoader()), FailingReasonerInterrupter.INSTANCE, new SimpleStageExecutor(), (ReasonerConfiguration) new ConfigurationFactory() .getConfiguration(getClass().getClassLoader() .getResourceAsStream("elk_test.properties"), ReasonerConfiguration.REASONER_CONFIG_PREFIX, ReasonerConfiguration.class)); assertNotNull(reasoner); assertEquals(10, reasoner.getNumberOfWorkers()); assertFalse(reasoner.isIncrementalMode()); } }