|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.clarkparsia.owlapi.modularity.locality.SyntacticLocalityEvaluator
public class SyntacticLocalityEvaluator
Title: Description: Implements syntactic locality evaluation for axioms Copyright: Copyright (c) 2007 Company: Clark & Parsia, LLC.
Constructor Summary | |
---|---|
SyntacticLocalityEvaluator(LocalityClass localityClass)
Constructs a new locality evaluator for the given locality class. |
Method Summary | |
---|---|
boolean |
isLocal(OWLAxiom axiom,
java.util.Set<? extends OWLEntity> signature)
Tests whether a given axiom is local with respect to a given signature. |
protected static boolean |
isTopOrBuiltInDatatype(OWLDataRange dataRange)
This is a convenience method for determining whether a given data range expression is the top datatype or a built-in datatype. |
protected static boolean |
isTopOrBuiltInInfiniteDatatype(OWLDataRange dataRange)
This is a convenience method for determining whether a given data range expression is the top datatype or a built-in infinite datatype. |
java.util.Set<LocalityClass> |
supportedLocalityClasses()
Returns all supported locality classes. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SyntacticLocalityEvaluator(LocalityClass localityClass)
localityClass
- the locality class for this evaluatorMethod Detail |
---|
public java.util.Set<LocalityClass> supportedLocalityClasses()
protected static boolean isTopOrBuiltInDatatype(OWLDataRange dataRange)
dataRange
- a data range expression
true
if the specified data range expression is the top datatype
or a built-in datatype; false
otherwiseprotected static boolean isTopOrBuiltInInfiniteDatatype(OWLDataRange dataRange)
dataRange
- a data range expression
true
if the specified data range expression is the top datatype
or a built-in infinite datatype; false
otherwisepublic boolean isLocal(OWLAxiom axiom, java.util.Set<? extends OWLEntity> signature)
isLocal
in interface LocalityEvaluator
axiom
- the axiom to testsignature
- the signature to test against
true
if the axiom is local w.r.t. the signature; false
otherwise
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |