org.semanticweb.owl.util
Class OWLDescriptionComparator.CoarseGrainedDescriptionComparator
java.lang.Object
org.semanticweb.owl.util.OWLDescriptionComparator.CoarseGrainedDescriptionComparator
- All Implemented Interfaces:
- java.util.Comparator<OWLDescription>, OWLDescriptionVisitor
- Enclosing class:
- OWLDescriptionComparator
public static class OWLDescriptionComparator.CoarseGrainedDescriptionComparator
- extends java.lang.Object
Compares two descriptions using the coarse grained categories of
OWLClass, OWLObjectRestriction, OWLDataRestriction, OWLBooleanDescription, OWLObjectOneOf
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface java.util.Comparator |
equals |
OWL_CLASS
public static int OWL_CLASS
OWL_OBJECT_RESTRICTION
public static int OWL_OBJECT_RESTRICTION
OWL_DATA_RESTRICTION
public static int OWL_DATA_RESTRICTION
OWL_OBJECT_INTERSECTION_OF
public static int OWL_OBJECT_INTERSECTION_OF
OWL_OBJECT_UNION_OF
public static int OWL_OBJECT_UNION_OF
OWL_OBJECT_COMPLEMENT_OF
public static int OWL_OBJECT_COMPLEMENT_OF
OWL_OBJECT_ONE_OF
public static int OWL_OBJECT_ONE_OF
OWLDescriptionComparator.CoarseGrainedDescriptionComparator
public OWLDescriptionComparator.CoarseGrainedDescriptionComparator(ShortFormProvider shortFormProvider)
compareObjects
protected int compareObjects(OWLDescription o1,
OWLDescription o2)
visit
public void visit(OWLClass desc)
- Specified by:
visit
in interface OWLDescriptionVisitor
visit
public void visit(OWLDataAllRestriction desc)
- Specified by:
visit
in interface OWLDescriptionVisitor
visit
public void visit(OWLDataExactCardinalityRestriction desc)
- Specified by:
visit
in interface OWLDescriptionVisitor
visit
public void visit(OWLDataMaxCardinalityRestriction desc)
- Specified by:
visit
in interface OWLDescriptionVisitor
visit
public void visit(OWLDataMinCardinalityRestriction desc)
- Specified by:
visit
in interface OWLDescriptionVisitor
visit
public void visit(OWLDataSomeRestriction desc)
- Specified by:
visit
in interface OWLDescriptionVisitor
visit
public void visit(OWLDataValueRestriction desc)
- Specified by:
visit
in interface OWLDescriptionVisitor
visit
public void visit(OWLObjectAllRestriction desc)
- Specified by:
visit
in interface OWLDescriptionVisitor
visit
public void visit(OWLObjectComplementOf desc)
- Specified by:
visit
in interface OWLDescriptionVisitor
visit
public void visit(OWLObjectExactCardinalityRestriction desc)
- Specified by:
visit
in interface OWLDescriptionVisitor
visit
public void visit(OWLObjectIntersectionOf desc)
- Specified by:
visit
in interface OWLDescriptionVisitor
visit
public void visit(OWLObjectMaxCardinalityRestriction desc)
- Specified by:
visit
in interface OWLDescriptionVisitor
visit
public void visit(OWLObjectMinCardinalityRestriction desc)
- Specified by:
visit
in interface OWLDescriptionVisitor
visit
public void visit(OWLObjectOneOf desc)
- Specified by:
visit
in interface OWLDescriptionVisitor
visit
public void visit(OWLObjectSelfRestriction desc)
- Specified by:
visit
in interface OWLDescriptionVisitor
visit
public void visit(OWLObjectSomeRestriction desc)
- Specified by:
visit
in interface OWLDescriptionVisitor
visit
public void visit(OWLObjectUnionOf desc)
- Specified by:
visit
in interface OWLDescriptionVisitor
visit
public void visit(OWLObjectValueRestriction desc)
- Specified by:
visit
in interface OWLDescriptionVisitor