org.semanticweb.owlapi
Class AmalgamateSubClassAxioms

java.lang.Object
  extended by org.semanticweb.owlapi.AbstractCompositeOntologyChange
      extended by org.semanticweb.owlapi.AmalgamateSubClassAxioms
All Implemented Interfaces:
OWLCompositeOntologyChange

public class AmalgamateSubClassAxioms
extends AbstractCompositeOntologyChange

Author: Matthew Horridge
The University Of Manchester
Bio-Health Informatics Group
Date: 15-Aug-2007

Given a set of ontologies S, for each ontology, O, in S, this change combines multiple subclass axioms with a common left hand side into one subclass axiom. For example, given A subClassOf B, A subClassOf C, this change will remove these two axioms and replace them by adding one subclass axiom, A subClassOf (B and C).


Constructor Summary
AmalgamateSubClassAxioms(java.util.Set<OWLOntology> ontologies, OWLDataFactory dataFactory)
           
 
Method Summary
 java.util.List<OWLOntologyChange> getChanges()
          Gets the changes which compose this composite change.
 
Methods inherited from class org.semanticweb.owlapi.AbstractCompositeOntologyChange
getDataFactory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AmalgamateSubClassAxioms

public AmalgamateSubClassAxioms(java.util.Set<OWLOntology> ontologies,
                                OWLDataFactory dataFactory)
Method Detail

getChanges

public java.util.List<OWLOntologyChange> getChanges()
Description copied from interface: OWLCompositeOntologyChange
Gets the changes which compose this composite change. Once this method has been invoked, it will always return the same list of changes.

Returns:
A list of ontology changes.