Package openllet.core.expressivity
Class ProfileBasedExpressivityChecker
- java.lang.Object
-
- openllet.core.expressivity.ProfileBasedExpressivityChecker
-
- Direct Known Subclasses:
DLExpressivityChecker,ELExpressivityChecker
public abstract class ProfileBasedExpressivityChecker extends java.lang.ObjectCopyright: Copyright (c) 2008
Company: Clark & Parsia, LLC.
- Author:
- Harris Lin
-
-
Constructor Summary
Constructors Constructor Description ProfileBasedExpressivityChecker(KnowledgeBase kb)
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract booleancompute(Expressivity expressivity)Compute the expressivity from theKnowledgeBaseand update it to the givenExpressivity.abstract booleanupdateWith(Expressivity expressivity, openllet.aterm.ATermAppl term)Update the givenExpressivityby adding the new @{link openllet.aterm.ATermAppl}.
-
-
-
Constructor Detail
-
ProfileBasedExpressivityChecker
public ProfileBasedExpressivityChecker(KnowledgeBase kb)
-
-
Method Detail
-
compute
public abstract boolean compute(Expressivity expressivity)
Compute the expressivity from theKnowledgeBaseand update it to the givenExpressivity.- Parameters:
expressivity-- Returns:
trueif the expressivity is within the profile defined by the implementation,falseotherwise.
-
updateWith
public abstract boolean updateWith(Expressivity expressivity, openllet.aterm.ATermAppl term)
Update the givenExpressivityby adding the new @{link openllet.aterm.ATermAppl}.- Parameters:
expressivity-term-- Returns:
trueif the new expressivity is within the profile defined by the implementation,falseotherwise.
-
-