OntoUML / ontouml-js

Javascript library for manipulating OntoUML models.
Apache License 2.0
11 stars 8 forks source link

Add methods to check the disjointness between classifiers #83

Open claudenirmf opened 3 years ago

claudenirmf commented 3 years ago

Given two (or more) classifiers, evaluate whether they are disjoint. Disjointness checks between more than two classes, if necessary, must be clear about the implementation (i.e., pairwise or overall disjointness).

areDisjoint(classifierA : Classifier, classifierB : Classifier): boolean;
areDisjoint(...classifiers : Classifier[]): boolean;
arePairwiseDisjoint(...classifiers : Classifier[]): boolean;
claudenirmf commented 3 years ago

Also, this method must check orthogonal hierarchies among its ancestors, and consider the disjointness of generalization sets, ultimate sortals, and ontological natures.