本文整理汇总了Java中org.semanticweb.owlapi.reasoner.IllegalConfigurationException类的典型用法代码示例。如果您正苦于以下问题:Java IllegalConfigurationException类的具体用法?Java IllegalConfigurationException怎么用?Java IllegalConfigurationException使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
IllegalConfigurationException类属于org.semanticweb.owlapi.reasoner包,在下文中一共展示了IllegalConfigurationException类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: createElkReasoner
import org.semanticweb.owlapi.reasoner.IllegalConfigurationException; //导入依赖的package包/类
@SuppressWarnings("static-method")
ElkReasoner createElkReasoner(OWLOntology ontology,
boolean isBufferingMode, OWLReasonerConfiguration config)
throws IllegalConfigurationException {
LOGGER_.trace("createElkReasoner(OWLOntology, boolean, OWLReasonerConfiguration)");
// here we check if the passed configuration also has ELK's parameters
ElkReasonerConfiguration elkReasonerConfig;
if (config != null) {
if (config instanceof ElkReasonerConfiguration) {
elkReasonerConfig = (ElkReasonerConfiguration) config;
} else {
elkReasonerConfig = new ElkReasonerConfiguration(config);
}
} else {
elkReasonerConfig = new ElkReasonerConfiguration();
}
return new ElkReasoner(ontology, isBufferingMode, elkReasonerConfig);
}
示例2: createNonBufferingReasoner
import org.semanticweb.owlapi.reasoner.IllegalConfigurationException; //导入依赖的package包/类
@Override
public ElkReasoner createNonBufferingReasoner(OWLOntology ontology,
OWLReasonerConfiguration config)
throws IllegalConfigurationException {
LOGGER_.trace("createNonBufferingReasoner(OWLOntology, OWLReasonerConfiguration)");
return createElkReasoner(ontology, false, config);
}
示例3: createReasoner
import org.semanticweb.owlapi.reasoner.IllegalConfigurationException; //导入依赖的package包/类
@Override
public ElkReasoner createReasoner(OWLOntology ontology,
OWLReasonerConfiguration config)
throws IllegalConfigurationException {
LOGGER_.trace("createReasoner(OWLOntology, OWLReasonerConfiguration)");
return createElkReasoner(ontology, true, config);
}
示例4: createNonBufferingReasoner
import org.semanticweb.owlapi.reasoner.IllegalConfigurationException; //导入依赖的package包/类
@Override
public BornReasoner createNonBufferingReasoner(OWLOntology ontology, OWLReasonerConfiguration configuration)
throws IllegalConfigurationException {
Objects.requireNonNull(ontology);
Objects.requireNonNull(configuration);
return new BornReasoner(ontology, false, configuration);
}
示例5: createReasoner
import org.semanticweb.owlapi.reasoner.IllegalConfigurationException; //导入依赖的package包/类
@Override
public BornReasoner createReasoner(OWLOntology ontology, OWLReasonerConfiguration configuration)
throws IllegalConfigurationException {
Objects.requireNonNull(ontology);
Objects.requireNonNull(configuration);
return new BornReasoner(ontology, true, configuration);
}
示例6: createNonBufferingReasoner
import org.semanticweb.owlapi.reasoner.IllegalConfigurationException; //导入依赖的package包/类
@Override
public JcelReasoner createNonBufferingReasoner(OWLOntology ontology, OWLReasonerConfiguration configuration)
throws IllegalConfigurationException {
Objects.requireNonNull(ontology);
Objects.requireNonNull(configuration);
return new JcelReasoner(ontology, false, configuration);
}
示例7: createReasoner
import org.semanticweb.owlapi.reasoner.IllegalConfigurationException; //导入依赖的package包/类
@Override
public JcelReasoner createReasoner(OWLOntology ontology, OWLReasonerConfiguration configuration)
throws IllegalConfigurationException {
Objects.requireNonNull(ontology);
Objects.requireNonNull(configuration);
return new JcelReasoner(ontology, true, configuration);
}
示例8: createNonBufferingReasoner
import org.semanticweb.owlapi.reasoner.IllegalConfigurationException; //导入依赖的package包/类
public OWLReasoner createNonBufferingReasoner(OWLOntology ontology, OWLReasonerConfiguration config) throws IllegalConfigurationException {
return new LazyExpressionMaterializingReasoner(ontology, config, BufferingMode.NON_BUFFERING);
}
示例9: createReasoner
import org.semanticweb.owlapi.reasoner.IllegalConfigurationException; //导入依赖的package包/类
public OWLReasoner createReasoner(OWLOntology ontology, OWLReasonerConfiguration config) throws IllegalConfigurationException {
return new LazyExpressionMaterializingReasoner(ontology, config, BufferingMode.BUFFERING);
}
示例10: createNonBufferingReasoner
import org.semanticweb.owlapi.reasoner.IllegalConfigurationException; //导入依赖的package包/类
public OWLReasoner createNonBufferingReasoner(OWLOntology ontology, OWLReasonerConfiguration config) throws IllegalConfigurationException {
return new GraphReasoner(ontology, config, BufferingMode.NON_BUFFERING);
}
示例11: createReasoner
import org.semanticweb.owlapi.reasoner.IllegalConfigurationException; //导入依赖的package包/类
public OWLReasoner createReasoner(OWLOntology ontology, OWLReasonerConfiguration config) throws IllegalConfigurationException {
return new GraphReasoner(ontology, config, BufferingMode.BUFFERING);
}
示例12: createNonBufferingReasoner
import org.semanticweb.owlapi.reasoner.IllegalConfigurationException; //导入依赖的package包/类
public OWLReasoner createNonBufferingReasoner(OWLOntology arg0,
OWLReasonerConfiguration arg1) throws IllegalConfigurationException {
return createReasoner(arg0);
}
示例13: createReasoner
import org.semanticweb.owlapi.reasoner.IllegalConfigurationException; //导入依赖的package包/类
public OWLReasoner createReasoner(OWLOntology arg0,
OWLReasonerConfiguration arg1) throws IllegalConfigurationException {
return createReasoner(arg0);
}
示例14: createNonBufferingReasoner
import org.semanticweb.owlapi.reasoner.IllegalConfigurationException; //导入依赖的package包/类
public OWLReasoner createNonBufferingReasoner(OWLOntology ontology,
OWLReasonerConfiguration config)
throws IllegalConfigurationException {
return new SnorocketOWLReasoner(ontology, config, false);
}
示例15: createReasoner
import org.semanticweb.owlapi.reasoner.IllegalConfigurationException; //导入依赖的package包/类
public OWLReasoner createReasoner(OWLOntology ontology,
OWLReasonerConfiguration config)
throws IllegalConfigurationException {
return new SnorocketOWLReasoner(ontology, config, true);
}