com.clarkparsia.pellet.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
 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.


isApplicable

boolean isApplicable(boolean[] boundPositions)


Copyright © 2004 Evren Sirin. All Rights Reserved.