public class OWLClassExpressionUtils extends Object
| Constructor and Description | 
|---|
OWLClassExpressionUtils()  | 
| Modifier and Type | Method and Description | 
|---|---|
static org.semanticweb.owlapi.model.OWLClassExpression | 
clone(org.semanticweb.owlapi.model.OWLClassExpression ce)
Returns a clone of the given class expression. 
 | 
static int | 
getArity(org.semanticweb.owlapi.model.OWLClassExpression ce)
Returns the arity of a class expression. 
 | 
static Set<org.semanticweb.owlapi.model.OWLClassExpression> | 
getChildren(org.semanticweb.owlapi.model.OWLClassExpression ce)
Returns all direct child expressions of a class expression. 
 | 
static int | 
getDepth(org.semanticweb.owlapi.model.OWLClassExpression ce)
Returns the depth of a class expression. 
 | 
static int | 
getLength(org.semanticweb.owlapi.model.OWLClassExpression ce)
Returns the length of a given class expression. 
 | 
static int | 
getLength(org.semanticweb.owlapi.model.OWLClassExpression ce,
         OWLClassExpressionLengthMetric metric)  | 
static boolean | 
occursOnFirstLevel(org.semanticweb.owlapi.model.OWLClassExpression description,
                  org.semanticweb.owlapi.model.OWLClassExpression cls)
Determine whether a named class occurs on the outermost level of a class expression, i.e. 
 | 
public OWLClassExpressionUtils()
public static int getLength(org.semanticweb.owlapi.model.OWLClassExpression ce)
ce - the class expressionpublic static int getLength(org.semanticweb.owlapi.model.OWLClassExpression ce, OWLClassExpressionLengthMetric metric)
public static int getDepth(org.semanticweb.owlapi.model.OWLClassExpression ce)
ce - the class expressionpublic static int getArity(org.semanticweb.owlapi.model.OWLClassExpression ce)
ce - the class expressionpublic static Set<org.semanticweb.owlapi.model.OWLClassExpression> getChildren(org.semanticweb.owlapi.model.OWLClassExpression ce)
ce - the class expressionpublic static org.semanticweb.owlapi.model.OWLClassExpression clone(org.semanticweb.owlapi.model.OWLClassExpression ce)
ce - the class expressionpublic static boolean occursOnFirstLevel(org.semanticweb.owlapi.model.OWLClassExpression description, org.semanticweb.owlapi.model.OWLClassExpression cls)
description - the class expressioncls - the named class
 DL-Learner is licenced 						under the terms of the GNU General Public License.
Copyright © 2007-2019 Jens Lehmann