Package openllet.core.rules.builtins
Interface GeneralFunction
-
public interface GeneralFunction
Title: General Function
Description: Interface for built-ins that can bind arbitrary argument positions to a new value.
Copyright: Copyright (c) 2007
Company: Clark & Parsia, LLC.
- Author:
- Ron Alford
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
apply(ABox abox, Literal[] args)
Apply the function against a set of arguments.boolean
isApplicable(boolean[] boundPositions)
-
-
-
Method Detail
-
apply
boolean apply(ABox abox, Literal[] args)
Apply the function against a set of arguments. Set null values of argument array. Return true if function succeeded, false if it cannot.- Parameters:
abox
-args
-- Returns:
- the literal that result of the application of the function again the Abox
-
isApplicable
boolean isApplicable(boolean[] boundPositions)
-
-