Package org.semanticweb.owlapi.reasoner.impl

Examples of org.semanticweb.owlapi.reasoner.impl.OWLNamedIndividualNode


                    }
                }
            }
        }

        return new OWLNamedIndividualNode(inds);
    }
View Full Code Here


  private NodeSet<OWLNamedIndividual> getIndividualNodeSetByName( Collection<OWLNamedIndividual> individuals ) {
    Set<Node<OWLNamedIndividual>> instances = new HashSet<Node<OWLNamedIndividual>>();
   
    for( OWLNamedIndividual ind : individuals ) {     
      for ( OWLNamedIndividual equiv : reasoner.getSameIndividuals( ind ) ) {        
        instances.add( new OWLNamedIndividualNode( equiv ) );     
      }
    }
   
    return new OWLNamedIndividualNodeSet( instances );
  }
View Full Code Here

TOP

Related Classes of org.semanticweb.owlapi.reasoner.impl.OWLNamedIndividualNode

Copyright © 2018 www.massapicom. 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.