public OWLClassNodeSet convertClassNodes( Iterable<? extends Node<ElkClass>> nodes) { Set<org.semanticweb.owlapi.reasoner.Node<OWLClass>> owlNodes = new HashSet<org.semanticweb.owlapi.reasoner.Node<OWLClass>>(); for (Node<ElkClass> node : nodes) { owlNodes.add(convertClassNode(node)); } return new OWLClassNodeSet(owlNodes); }
public OWLClassNodeSet convertClassNodes( Iterable<? extends Node<ElkClass>> nodes) { Set<org.semanticweb.owlapi.reasoner.Node<OWLClass>> owlNodes = new HashSet<org.semanticweb.owlapi.reasoner.Node<OWLClass>>(); for (Node<ElkClass> node : nodes) { owlNodes.add(convertClassNode(node)); } return new OWLClassNodeSet(owlNodes); }
public OWLClassNodeSet convertClassNodes( Iterable<? extends Node<ElkClass>> nodes) { Set<org.semanticweb.owlapi.reasoner.Node<OWLClass>> owlNodes = new HashSet<org.semanticweb.owlapi.reasoner.Node<OWLClass>>(); for (Node<ElkClass> node : nodes) { owlNodes.add(convertClassNode(node)); } return new OWLClassNodeSet(owlNodes); }
private Node<OWLClass> getClassNode(ElkClass elkClass) throws FreshEntitiesException, InconsistentOntologyException, ElkException { try { return elkConverter_ .convertClassNode(reasoner_.getEquivalentClasses(elkClass)); } catch (ElkException e) { throw elkConverter_.convert(e); } }
private Node<OWLClass> getClassNode(ElkClass elkClass) throws FreshEntitiesException, InconsistentOntologyException, ElkException { try { return elkConverter_ .convertClassNode(reasoner_.getEquivalentClasses(elkClass)); } catch (ElkException e) { throw elkConverter_.convert(e); } }
private Node<OWLClass> getClassNode(ElkClass elkClass) throws FreshEntitiesException, InconsistentOntologyException, ElkException { try { return elkConverter_ .convertClassNode(reasoner_.getEquivalentClasses(elkClass)); } catch (ElkException e) { throw elkConverter_.convert(e); } }
@Override public Node<OWLClass> getEquivalentClasses(OWLClassExpression ce) throws InconsistentOntologyException, ClassExpressionNotInProfileException, FreshEntitiesException, ReasonerInterruptedException, TimeOutException { LOGGER_.trace("getEquivalentClasses(OWLClassExpression)"); checkInterrupted(); try { return elkConverter_.convertClassNode( reasoner_.getEquivalentClasses(owlConverter_.convert(ce))); } catch (ElkUnsupportedReasoningTaskException e) { throw unsupportedOwlApiMethod( "getEquivalentClasses(OWLClassExpression)", e.getMessage()); } catch (ElkException e) { throw elkConverter_.convert(e); } catch (ElkRuntimeException e) { throw elkConverter_.convert(e); } }
@Override public Node<OWLClass> getEquivalentClasses(OWLClassExpression ce) throws InconsistentOntologyException, ClassExpressionNotInProfileException, FreshEntitiesException, ReasonerInterruptedException, TimeOutException { LOGGER_.trace("getEquivalentClasses(OWLClassExpression)"); checkInterrupted(); try { return elkConverter_.convertClassNode( reasoner_.getEquivalentClasses(owlConverter_.convert(ce))); } catch (ElkUnsupportedReasoningTaskException e) { throw unsupportedOwlApiMethod( "getEquivalentClasses(OWLClassExpression)", e.getMessage()); } catch (ElkException e) { throw elkConverter_.convert(e); } catch (ElkRuntimeException e) { throw elkConverter_.convert(e); } }
@Override public Node<OWLClass> getEquivalentClasses(OWLClassExpression ce) throws InconsistentOntologyException, ClassExpressionNotInProfileException, FreshEntitiesException, ReasonerInterruptedException, TimeOutException { LOGGER_.trace("getEquivalentClasses(OWLClassExpression)"); checkInterrupted(); try { return elkConverter_.convertClassNode( reasoner_.getEquivalentClasses(owlConverter_.convert(ce))); } catch (ElkUnsupportedReasoningTaskException e) { throw unsupportedOwlApiMethod( "getEquivalentClasses(OWLClassExpression)", e.getMessage()); } catch (ElkException e) { throw elkConverter_.convert(e); } catch (ElkRuntimeException e) { throw elkConverter_.convert(e); } }