de.unima.alcomox.ontology
Class IConcept
java.lang.Object
de.unima.alcomox.ontology.IConcept
public class IConcept
- extends java.lang.Object
Constructor Summary |
IConcept(org.semanticweb.owlapi.model.OWLClass concept,
int counter)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
IConcept
public IConcept(org.semanticweb.owlapi.model.OWLClass concept,
int counter)
addParent
public void addParent(IConcept concept)
addChild
public void addChild(IConcept concept)
getChildren
public java.util.Set<IConcept> getChildren()
getId
public int getId()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
displaySubtree
public void displaySubtree(int depth)
openInterval
public void openInterval(int index)
closeInterval
public void closeInterval(int index)
getSubIntervals
public java.util.ArrayList<Interval> getSubIntervals()
getDisIntervals
public java.util.ArrayList<Interval> getDisIntervals()
addSubIntervals
public void addSubIntervals(java.util.ArrayList<Interval> intervals)
addDisIntervals
public void addDisIntervals(java.util.ArrayList<Interval> intervals)
isSubClassOf
public boolean isSubClassOf(IConcept that)
hasCommonSubClassWith
public boolean hasCommonSubClassWith(IConcept that)
hasCommonSubDisjointClassWith
public boolean hasCommonSubDisjointClassWith(IConcept that)
isDisjointWith
public boolean isDisjointWith(IConcept ic2)
refine
public void refine()
- Sorts the subsumption and disjointness intervals and joins them if possible.