edu.stanford.smi.protegex.owl.swrl.bridge.builtins.swrlm
Class SWRLBuiltInLibraryImpl
java.lang.Object
edu.stanford.smi.protegex.owl.swrl.bridge.builtins.AbstractSWRLBuiltInLibrary
edu.stanford.smi.protegex.owl.swrl.bridge.builtins.swrlm.SWRLBuiltInLibraryImpl
- All Implemented Interfaces:
- SWRLBuiltInLibrary
public class SWRLBuiltInLibraryImpl
- extends AbstractSWRLBuiltInLibrary
Implementations library for SWRL mathematical built-in methods. See here for documentation on this library.
See here for documentation on defining SWRL built-in libraries.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SWRLBuiltInLibraryImpl
public SWRLBuiltInLibraryImpl()
reset
public void reset()
- Specified by:
reset
in interface SWRLBuiltInLibrary
- Specified by:
reset
in class AbstractSWRLBuiltInLibrary
sqrt
public boolean sqrt(List<BuiltInArgument> arguments)
throws BuiltInException
- Returns true if the first argument is equal to the square root of the second argument. If the first argument is unbound, bind it to
the square root of the second argument.
- Throws:
BuiltInException
log
public boolean log(List<BuiltInArgument> arguments)
throws BuiltInException
- Returns true if the first argument is equal to the natural logarithm (base e) of the second argument. If the first argument is
unbound, bind it to the natural logarithm of the second argument.
- Throws:
BuiltInException
eval
public boolean eval(List<BuiltInArgument> arguments)
throws BuiltInException
- Throws:
BuiltInException
Submit a bug report or feature request
Copyright (c) 1998-2009 Stanford University.